Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Grant Admin Consent for an Application in AAD using Graph API

$
0
0

We are developing an application which will go ahead and register Applications in AAD. We are successfully able to achieve that using Graph API. But, whenever a user tries to access the application then he/she is displayed a consent form. So, we searched about it and figured out that its due to non availability of Admin Consent. So, every time we register an application with AAD using our portal, a global Admin user has to manually login and edit the display name of the application, in order to facilitate Admin Consent, so that users are not displayed the Consent Form. As per the below mentioned article the facility of adding Admin Consent through Graph API has been deliberately removed, if I understand it correctly.

http://blogs.msdn.com/b/aadgraphteam/archive/2015/03/19/update-to-graph-api-consent-permissions.aspx

If I am wrong can somebody guide me to any resource which shows, how we can do it using Graph API.

If the article is correct, is there any way by which we can programmatically grant admin consent to the registered application, without the Admin physically logging in and trying to do so. We can also go the powershell route if required.


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>