Scope is not working with interactive user login
tejeshkalyan123 opened this issue · comments
Hello,
I am trying to do the below connecting device login with Scope to avoid client credentials.
Connect-AzADB2CDevicelogin -TenantName "yourtenant.onmicrosoft.com" -Scope "Application.Read.All Policy.ReadWrite.TrustFramework"
I am getting the below error:
AADSTS65002: Consent between first party application '1950a258-227b-4e31-a9cf-717495945fc2' and first party resource '00000003-0000-0000-c000-000000000000' must be configured via preauthorization - applications owned and operated by Microsoft must get approval from the API owner before requesting tokens for that API.
Could you please help me what can be the issue and how can I get the approval?
thank you