Hi,
We're trying to integrate an application that does "standard SAML 2" with Azure AD SSO, and we need to implement role-based access control. I'm on the application side, with no access to the Azure AD administration (which is handled by a consultant
for our customer).
Looking at the online docs, we're in this situation: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-enterprise-app-role-management
The consultant tells me that steps 8–10 of the “Create roles for an application” section are obsolete, and that roles cannot be sent in the SAML response, pointing me at https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-saml-claims-customization#restricted-claims
as a proof.
I cannot believe that Microsoft would have made such a switch, requiring applications to call Azure-specific APIs (MS Graph API, if I understood correctly) to retrieve the user's roles.
So, can anyone confirm to me that "standard SAML" cannot be used for role-based access control (passing the app roles as a SAML claim in the response), and that it requires Azure-specific integration through additional calls to the MS Graph API
?
Fwiw, I first posted to Twitter, and was asked to post here instead: https://twitter.com/tbroyer/status/1032207267381301248