Missing scope LicenseAssignment.Read.All in Azure Portal #3055
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Describe the bug
Trying to use
Get-MgSubscribedSku
through an unattended application, I wanted to add theLicenseAssignment.Read.All
scope to my app registration.However, the scope doesn't appear in the Azure Portal (neither as Application or Delegated permissions):
The scope does however exist in the backend, because if I do an interactive login with
Connect-MgGraph -Scope LicenseAssignment.Read.All
, I'm correctly prompted to approve the scope, and it appears in the "User consent" section of the enterprise application (as Delegated, of course).Expected behavior
I can add the
LicenseAssignment.Read.All
scope as an Application's permission in the app registration, and grant an admin consentHow to reproduce
LicenseAssignment.Read.All
scope on the Microsoft Graph APISDK Version
N/A
Latest version known to work for scenario above?
No response
Known Workarounds
I haven't found any workaround. I wanted to manually add the scope in the manifest, but I wasn't able to find the role ID to use.
Debug output
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: