skip to Main Content

Azure Graph API – Users by CreatedDateTime

I am trying to retrieve users orderby createdDateTime, but the Graph API doesn't seem to like it This fails with a (400) Bad Request: https://graph.microsoft.com/beta/users?`$select=displayName,userPrincipalName,mail,id,createdDateTime,signInActivity,userType&`$top=100&`$orderby=createdDateTime desc Whereas order by displayName works just fine: https://graph.microsoft.com/beta/users?`$select=displayName,userPrincipalName,mail,id,createdDateTime,signInActivity,userType&`$top=100&`$orderby=displayName desc My API permissions are fine…

VIEW QUESTION

Azure – Error when assigning Microsoft Graph permissions in Bicep

In Bicep, I am attempting to create a User Assigned Identity, and then assigning that identity a few scopes using the new Microsoft.Graph bicep capabilities: resource sqlIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = { location: location name: 'id-sqlserver-${environment}' } //https://learn.microsoft.com/en-us/graph/templates/reference/oauth2permissiongrants?view=graph-bicep-1.0 resource graphPermissions 'Microsoft.Graph/[email protected]' =…

VIEW QUESTION
Back To Top
Search