File tree Expand file tree Collapse file tree
application-serviceprincipal-create-client-resource
resource-application-access-grant-to-client-application
security-group-assign-azure-role
security-group-create-with-owners-and-members Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ param appRoleId string
88param certKey string
99
1010resource resourceApp 'Microsoft.Graph/applications@beta' = {
11- name : 'ExampleResourceApp'
11+ uniqueName : 'ExampleResourceApp'
1212 displayName : 'Example Resource Application'
1313 appRoles : [
1414 {
@@ -27,7 +27,7 @@ resource resourceSp 'Microsoft.Graph/servicePrincipals@beta' = {
2727}
2828
2929resource clientApp 'Microsoft.Graph/applications@beta' = {
30- name : 'ExampleClientApp'
30+ uniqueName : 'ExampleClientApp'
3131 displayName : 'Example Client Application'
3232 keyCredentials : [
3333 {
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ provider 'microsoftGraph@1.0.0'
44param appRoleId string
55
66resource resourceApp 'Microsoft.Graph/applications@beta' existing = {
7- name : 'ExampleResourceApp'
7+ uniqueName : 'ExampleResourceApp'
88}
99
1010resource resourceSp 'Microsoft.Graph/servicePrincipals@beta' existing = {
1111 appId : resourceApp .appId
1212}
1313
1414resource clientApp 'Microsoft.Graph/applications@beta' existing = {
15- name : 'ExampleClientApp'
15+ uniqueName : 'ExampleClientApp'
1616}
1717
1818resource clientSp 'Microsoft.Graph/servicePrincipals@beta' existing = {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ provider 'microsoftGraph@1.0.0'
44param readerRoleDefinitionID string = 'acdd72a7-3385-48ef-bd42-f606fba81ae7'
55
66resource group 'Microsoft.Graph/groups@beta' existing = {
7- name : 'ExampleGroup'
7+ uniqueName : 'ExampleGroup'
88}
99
1010var roleAssignmentName = guid ('ExampleGroup' , readerRoleDefinitionID , resourceGroup ().id )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ provider 'microsoftGraph@1.0.0'
44param location string = resourceGroup ().location
55
66resource resourceApp 'Microsoft.Graph/applications@beta' existing = {
7- name : 'ExampleResourceApp'
7+ uniqueName : 'ExampleResourceApp'
88}
99
1010resource resourceSp 'Microsoft.Graph/servicePrincipals@beta' existing = {
@@ -17,7 +17,7 @@ resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-
1717}
1818
1919resource group 'Microsoft.Graph/groups@beta' = {
20- name : 'ExampleGroup'
20+ uniqueName : 'ExampleGroup'
2121 displayName : 'Example Group'
2222 mailEnabled : false
2323 mailNickname : 'exampleGroup'
You can’t perform that action at this time.
0 commit comments