provide method for admin consent request
See original GitHub issuePlease follow the issue template below. Failure to do so will result in a delay in answering your question.
Library
- [x ]
msal@1.x.x
or@azure/msal@1.x.x
- [x ]
@azure/msal-browser@2.x.x
- [ x]
@azure/msal-angular@0.x.x
- [x ]
@azure/msal-angular@1.x.x
- [x ]
@azure/msal-angularjs@1.x.x
Description
Please describe the functionality or improvement you would like to see added.
A common task with multi-tenant applications is to obtain admin consent for certain delegated permissions:
// Line breaks are for legibility only.
GET https://login.microsoftonline.com/{tenant}/v2.0/adminconsent?
client_id=6731de76-14a6-49ae-97bc-6eba6914391e
&state=12345
&redirect_uri=http://localhost/myapp/permissions
&scope=
https://graph.microsoft.com/calendars.read
https://graph.microsoft.com/mail.send
Since the task is repetitive and constructing the request url manually is error prone, it would be helpful for users if the library were to offer a method for this.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Review and take action on admin consent requests
Approve the request. To approve a request, grant admin consent to the application. Once a request is approved, all requestors are notified that ......
Read more >How to grant admin consent to applications in Azure
Navigate to Azure Active Directory. You need to be a global administrator to complete these steps; Open Enterprise applications > under Manage, ...
Read more >Use Azure AD Admin Consent Requests to help avoid attacks ...
In this article, you'll learn how to enable Azure AD Admin consent, which helps prevent users from accidentally allowing someone to access ...
Read more >Enterprise Application Consent Requests in Azure
If the administrator instead chooses to click the consent checkbox and then accept the request then this is known as Admin Consent and...
Read more >How to Resolve the Need Admin Approval Error
1. Open the Permissions tab and click Grant Admin consent for %CompanyName% · 2. Log in with O365 Admin credentials and click Accept...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
any update for admin consent requests?
Frankly, there hasn’t been a large demand, and we have other features that were higher priority. That said, this is a feature we would like to add at some point, which is why I requested @derisen open this feature request to track it.