Closed ahaeber closed 1 year ago
@ahaeber Thanks for your feedback! We will investigate and update as appropriate.
Hi @ahaeber tenant query parameter is optional in the admin consent request. If it is not provided, the user will be prompted to select the tenant they want to grant consent. However, if you want to specify a specific tenant, you can include the tenant query parameter in the request. The example given in the documentation is correct, and it is not necessary to include the tenant query parameter in the request.
Still if you have further question I'd recommend working closer with our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds. [Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows. [Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1
At the following section in the documentation https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-admin-consent#request-the-permissions-from-a-directory-admin it currently looks as this:
In the example given for the
adminconsent
request there is notenant
query parameter. However, the table below shows it asrequired
. Could you please check whether it is optional or required?It appears to work without the
tenant
query parameter, so I believe it should beoptional
.Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.