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' = {
name: guid(bingSearch.id, webApp.name, role)
scope: bingSearch
properties: {
principalId: webApp.identity.principalId
principalType: 'ServicePrincipal'
roleDefinitionId: role
}
}
New contributor
Kuniyoshi KAMIMURA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.