Skip to content

Graph API permissions for rolemanagement/cloudPC/roleDefinitions #102

@jrlane

Description

@jrlane

I have EntraExporter setup in an Azure DevOps pipeline with a Workload Identity. I applied all permissions in the readme to the workload app but I'm getting this error:

WARNING: Skipping as it doesn't support 'ApplicationPermission'
WARNING: Processing parent '' (IAM)
WARNING: Processing parent '' (AccessPolicies)
WARNING: Processing 26 v1.0 API requests
WARNING: Processing 32 beta API requests
##[error]
Failed batch request:
 - Id: 'D:/a/1/s/prod-backup/RoleManagement/CloudPC/RoleDefinitions%%%1607974367%%%'
 - Url: 'rolemanagement/cloudPC/roleDefinitions'
 - StatusCode: '403'
 - Error: 'Access is denied to the requested resource.'

I have tried adding these additional api permissions but the result is the same: RoleManagement.Read.CloudPC, DeviceManagementConfiguration.Read.All

Here are the reported roles and uri requested in the MicrosoftGraphActivityLogs

RoleEligibilitySchedule.Read.Directory UserAuthenticationMethod.Read.All OnPremDirectorySynchronization.Read.All Policy.Read.PermissionGrant SharePointTenantSettings.Read.All PrivilegedAccess.Read.AzureAD EntitlementManagement.Read.All IdentityUserFlow.Read.All Directory.Read.All RoleManagement.Read.All PrivilegedAccess.Read.AzureResources User.Read.All TeamworkAppSettings.Read.All Agreement.Read.All RoleManagement.Read.CloudPC DeviceManagementConfiguration.Read.All APIConnectors.Read.All IdentityProvider.Read.All AccessReview.Read.All Organization.Read.All Teamwork.Read.All AuditLog.Read.All Policy.Read.All PrivilegedEligibilitySchedule.Read.AzureADGroup Application.Read.All Reports.Read.All

https://graph.microsoft.com/beta/rolemanagement/cloudPC/roleDefinitions

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions