Posts

Showing posts with the label data plan role

How to assign management plan role/ control plan role using arm template

Image
 How to assign management plan role/ control plan role using arm template: Description:  In this below example, I am trying assign the "Cosmos DB Account Reader Role (Built-in role) " to  azure ad group.  Parameters:  principalId: your azure ad group/user/application id CosmosDbAccountName: your comsos account name ARM Template Script: {         "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",         "contentVersion": "1.0.0.0",         "parameters": {             "principalId": {                 "type": "string",                 "defaultValue": "",                 "metadata": {                     "description": ""             ...