Assign custom roles with a function and Azure AD v2.0 #1409
Unanswered
MrMossevig
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We want to use a cusom function to assign roles to our users. We've been following this tutorial. The tutorial is using Azure AD v1.0 (which is very eay to miss BTW, and cost us a couple of hours of debugging). When we moved to Azure AD 1.0 it worked fine, but ideally we would use Azure AD 2.0.
Has anyone implemented a custom rolesSource with Azure AD v2.0?
We tried the following configuration, which should be correct, but the sign-in got stuck in a loop that ultimately failed:
We've tried several different scopes, such as
scope=https://graph.microsoft.com/User.Read
andscope=https://graph.microsoft.com/.default
but to no avail.Beta Was this translation helpful? Give feedback.
All reactions