-
Notifications
You must be signed in to change notification settings - Fork 1k
SyncSolutionToTeams API doesn't work for modern authentication #7441
Copy link
Copy link
Closed
Labels
area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APICategory: SharePoint Client Side Object Model SDK / REST APIarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devtype:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active work
Metadata
Metadata
Assignees
Labels
area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APICategory: SharePoint Client Side Object Model SDK / REST APIarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devtype:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active work
Type
Fields
Give feedbackNo fields configured for issues without a type.
When you try to use
SyncSolutionToTeamsAPI:It throws an error:
It happens if you use any OAuth-based Azure AD authentication - I've tried different auth flows: ROPC, Auth Code, App only with certificate. None of them worked. It seems it works only for cookie-based (with username and password auth) which is a very old auth method currently not supported by many applications.
Could you fix this API so that it works with Bearer tokens from Azure AD as well?
Linking related issue from m365 cli
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.