-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication Methods - Incorrect Required Permissions from Find-MgGraphCommand #2631
Comments
Curious. The API documentation doesn't list this as you've described: I also wasn't able to replicate what you were describing (and got a 403). If you run |
@SeniorConsulting, worth noting that I was using an Azure (US) Gov tenant for the testing above. That's a good idea though. I will confirm the scopes were cleared with a |
@tbisque, I also checked the permissions defined in the API reference doc for that path. They are the same as what is returned by |
@timayabi2020, what I'm trying to say is that both are missing |
Hi @tbisque apologies for misinterpreting the issue. For the missing scope, kindly raise an issue here https://developer.microsoft.com/en-us/graph/support so that the API owner can respond to it. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Find-MgGraphCommand -Uri "/policies/authenticationMethodsPolicy" -Method GET
Permissions
property returned containing onlyPolicy.ReadWrite.AuthenticationMethod
Connect-MgGraph -Scopes UserAuthenticationMethod.Read.All
Get-MgPolicyAuthenticationMethodPolicy
&Get-MgBetaPolicyAuthenticationMethodPolicy
with this more restrictive scopeExpected behavior
Debug Output
Module Version
Environment Data
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: