-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TeamsOrgWideAppSettings component permissions #3394
Comments
Update: I also added all the Azure roles to the app as specified in this thread: #2779 (comment) I now get a different error: {InvalidOperation} |
The first error is most likely due to an old version of the script. Please make sure you run Update-M365DSCModule EDITED: I am able to reproduce Error 2 and will follow up with PG. |
I just got confirmation that SPN auth support for these new cmdlets used by the resource under the cover don't support SPN auth. They are however working on it. Apologies for the trouble. In the meantime, recommendation is to use credentials to extract these settings. |
Thank you |
Hello, Just wanted to follow up if the TeamsOrgWideAppSettings component has been updated to support SPN Auth / certificate authentication? |
Hi, I just tried myself to export settings for TeamsOrgWideAppSettings but I get an error log stating "System.Management.Automation.ParameterBindingException: A parameter cannot be found that matches parameter name 'AccessTokens'." does this mean I need to use an Access Token to export these configurations? |
@KarinaxRivera For me, only credentials work. No updates on certificate authentication yet, always getting an |
This resource still doesn't support SPN, as per documentation [0] the cmdlets [Get|Set]-CsTeamsSettingsCustomApp are not supported by SPN and therefore it won't work unless you use credentials authentication. [0] https://learn.microsoft.com/en-us/microsoftteams/teams-powershell-application-authentication |
When I try to run the TeamsOrgWideAppSettings component with a certificate thumbprint I get the following error:
"[WARNING] Based on the provided Authentication parameters, the following resources cannot be extracted:
TeamsOrgWideAppSettings"
The online documentation does not state any permissions to add to the app registration:
https://microsoft365dsc.com/resources/teams/TeamsOrgWideAppSettings/#permissions
When using the Get-M365DSCCompiledPermissionList command, I do not get any permissions back and get the below error:
"File settings.json was not found for resource {TeamsOrgWideAppSettings}"
Please confirm what application permissions and roles are required for this component.
The text was updated successfully, but these errors were encountered: