Is it possible to allow or restrict clients to authenticate first with B2C to access to certain portion or feature of a web site or app? As per the client:
Asked
Active
Viewed 118 times
0

Alex Munoz
- 21
- 4
1 Answers
0
So you just want to control the permissions of Azure AD B2C users.
You can look into directory extension optional claims. Configure custom claims for the users and get the claims from the token. A simple way with Powershell cmd can be found here.
Another method is to manually retrieve the group claims and inject them into the token. Detailed steps are listed in this answer.
You can set the corresponding permissions according to the user's custom claim or groups.

Allen Wu
- 15,529
- 1
- 9
- 20