Forum Discussion
Saeid_Abdollahzadeh
Aug 10, 2020Copper Contributor
RBAC for the PowerShell access
Hi all, I want to use RBAC to set access to a user that only needs to read the users' MFA information and change it(Disable/Enforced). I've set the Authentication Admin role to the user but still,...
- Aug 10, 2020
The MSOL module doesn't support any of the "new" roles, you'll only be able to use a Global admin account with it. Use the Graph API endpoint instead.
Saeid_Abdollahzadeh
Aug 11, 2020Copper Contributor
One more question!
Which one of the APIs can I use in this case? because I cannot find them that related to the MFA settings
Thanks
VasilMichev
Aug 11, 2020MVP
Depends on what exactly you are looking for, you can check the authenticationmethods endpoint or the registration one: https://docs.microsoft.com/en-us/graph/api/reportroot-list-credentialuserregistrationdetails?view=graph-rest-beta&tabs=http