skip to Main Content

Azure – roleDefinitions for Bing resource

I want to grant AppService access to a Bing resource (Microsoft.Bing/accounts@2020-06-10). Which role (Microsoft.Authorization/roleDefinitions) should I set in Bing's IAM (Microsoft.Authorization/roleAssignments)? In detail, I need to know the following xxx. var role = subscriptionResourceId( 'Microsoft.Authorization/roleDefinitions', 'xxx-xxx-xxx-xxx-xxx' ) resource searchServiceIndexAppPermissions 'Microsoft.Authorization/roleAssignments@2020-04-01-preview'…

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

osdisk.name not allowed in azure bicep

I have recently deployed windows VM using azure bicep. Today i have updated some NSG rules. tried to run .bicep file its shows below error. {"code":"Deployment Failed","details":[{"code":"PropertyChangeNotAllowed","target":"osDisk.name","message":"Changing property 'osDisk.name' is not allowed."}]} Note : iam using VM module How to…

VIEW QUESTION
Back To Top
Search