azure-resources/realmJoinServicePrincipal.json
|
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "languageVersion": "2.0", "contentVersion": "1.0.0.0", "metadata": { "_generator": { "name": "bicep", "version": "0.43.8.12551", "templateHash": "8874137230776305633" } }, "parameters": { "realmJoinAzureResourcesAppId": { "type": "string", "metadata": { "description": "App ID of the RealmJoin Azure Resources application (environment-specific, passed by the RealmJoin module)" } } }, "imports": { "microsoftGraphV1": { "provider": "MicrosoftGraph", "version": "1.0.0" } }, "resources": { "realmJoinServicePrincipal": { "import": "microsoftGraphV1", "type": "Microsoft.Graph/servicePrincipals@v1.0", "properties": { "appId": "[parameters('realmJoinAzureResourcesAppId')]" } } }, "outputs": { "servicePrincipalId": { "type": "string", "metadata": { "description": "The object ID of the RealmJoin service principal" }, "value": "[reference('realmJoinServicePrincipal').id]" }, "displayName": { "type": "string", "metadata": { "description": "The display name of the RealmJoin service principal" }, "value": "[reference('realmJoinServicePrincipal').displayName]" }, "appId": { "type": "string", "metadata": { "description": "The app ID of the RealmJoin service principal" }, "value": "[reference('realmJoinServicePrincipal').appId]" } } } |