Skip to content

Commit 1212d1c

Browse files
Merge pull request #436 from microsoft/PSL-US-43670
refactor: Updated Foundry Roles name
2 parents e62acf2 + e35a8a9 commit 1212d1c

4 files changed

Lines changed: 26 additions & 26 deletions

File tree

docs/LocalDevelopmentSetup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,10 @@ az role assignment create \
253253
--scope /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.CognitiveServices/accounts/<azure-openai-name>
254254
```
255255
```bash
256-
# Assign Azure AI User role
256+
# Assign Foundry User role
257257
az role assignment create \
258258
--assignee <aad-user-upn> \
259-
--role "Azure AI User" \
259+
--role "Foundry User" \
260260
--scope /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.CognitiveServices/accounts/<azure-openai-name>
261261
```
262262

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ module aiServices 'modules/ai-foundry/aifoundry.bicep' = {
766766
{
767767
principalId: appIdentity.outputs.principalId
768768
principalType: 'ServicePrincipal'
769-
roleDefinitionIdOrName: '53ca6127-db72-4b80-b1b0-d745d6d5456d' // Azure AI User
769+
roleDefinitionIdOrName: '53ca6127-db72-4b80-b1b0-d745d6d5456d' // Foundry User
770770
}
771771
]
772772
tags: allTags

infra/main.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"metadata": {
66
"_generator": {
77
"name": "bicep",
8-
"version": "0.42.1.51946",
9-
"templateHash": "1333265003476738511"
8+
"version": "0.43.8.12551",
9+
"templateHash": "2263929965524886405"
1010
},
1111
"name": "Modernize Your Code Solution Accelerator",
12-
"description": "CSA CTO Gold Standard Solution Accelerator for Modernize Your Code. \r\n"
12+
"description": "CSA CTO Gold Standard Solution Accelerator for Modernize Your Code. \n"
1313
},
1414
"parameters": {
1515
"solutionName": {
@@ -5093,8 +5093,8 @@
50935093
"metadata": {
50945094
"_generator": {
50955095
"name": "bicep",
5096-
"version": "0.42.1.51946",
5097-
"templateHash": "15922750226218572834"
5096+
"version": "0.43.8.12551",
5097+
"templateHash": "14487392921976794826"
50985098
}
50995099
},
51005100
"definitions": {
@@ -13102,10 +13102,10 @@
1310213102
"dependsOn": [
1310313103
"applicationInsights",
1310413104
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').ods)]",
13105-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').agentSvc)]",
13106-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').oms)]",
1310713105
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').monitor)]",
1310813106
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
13107+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').oms)]",
13108+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').agentSvc)]",
1310913109
"dataCollectionEndpoint",
1311013110
"logAnalyticsWorkspace",
1311113111
"virtualNetwork"
@@ -26168,8 +26168,8 @@
2616826168
"metadata": {
2616926169
"_generator": {
2617026170
"name": "bicep",
26171-
"version": "0.42.1.51946",
26172-
"templateHash": "7788164101952925462"
26171+
"version": "0.43.8.12551",
26172+
"templateHash": "5833130864503278162"
2617326173
},
2617426174
"name": "AI Services and Project Module",
2617526175
"description": "This module creates an AI Services resource and an AI Foundry project within it. It supports private networking, OpenAI deployments, and role assignments."
@@ -27466,8 +27466,8 @@
2746627466
"metadata": {
2746727467
"_generator": {
2746827468
"name": "bicep",
27469-
"version": "0.42.1.51946",
27470-
"templateHash": "3451497265231138743"
27469+
"version": "0.43.8.12551",
27470+
"templateHash": "427786211377533956"
2747127471
}
2747227472
},
2747327473
"definitions": {
@@ -29176,8 +29176,8 @@
2917629176
"metadata": {
2917729177
"_generator": {
2917829178
"name": "bicep",
29179-
"version": "0.42.1.51946",
29180-
"templateHash": "6439859910553532577"
29179+
"version": "0.43.8.12551",
29180+
"templateHash": "9014582203949799641"
2918129181
}
2918229182
},
2918329183
"definitions": {
@@ -29391,8 +29391,8 @@
2939129391
"metadata": {
2939229392
"_generator": {
2939329393
"name": "bicep",
29394-
"version": "0.42.1.51946",
29395-
"templateHash": "3451497265231138743"
29394+
"version": "0.43.8.12551",
29395+
"templateHash": "427786211377533956"
2939629396
}
2939729397
},
2939829398
"definitions": {
@@ -31101,8 +31101,8 @@
3110131101
"metadata": {
3110231102
"_generator": {
3110331103
"name": "bicep",
31104-
"version": "0.42.1.51946",
31105-
"templateHash": "6439859910553532577"
31104+
"version": "0.43.8.12551",
31105+
"templateHash": "9014582203949799641"
3110631106
}
3110731107
},
3110831108
"definitions": {
@@ -32075,8 +32075,8 @@
3207532075
"metadata": {
3207632076
"_generator": {
3207732077
"name": "bicep",
32078-
"version": "0.42.1.51946",
32079-
"templateHash": "3598447245043879538"
32078+
"version": "0.43.8.12551",
32079+
"templateHash": "12228537903958998388"
3208032080
}
3208132081
},
3208232082
"definitions": {
@@ -40484,8 +40484,8 @@
4048440484
},
4048540485
"dependsOn": [
4048640486
"appIdentity",
40487-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
4048840487
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
40488+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageFile)]",
4048940489
"logAnalyticsWorkspace",
4049040490
"virtualNetwork"
4049140491
]
@@ -40529,8 +40529,8 @@
4052940529
"metadata": {
4053040530
"_generator": {
4053140531
"name": "bicep",
40532-
"version": "0.42.1.51946",
40533-
"templateHash": "9745767047675020484"
40532+
"version": "0.43.8.12551",
40533+
"templateHash": "9897457440526781857"
4053440534
}
4053540535
},
4053640536
"definitions": {

infra/main_custom.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ module aiServices 'modules/ai-foundry/aifoundry.bicep' = {
686686
{
687687
principalId: appIdentity.outputs.principalId
688688
principalType: 'ServicePrincipal'
689-
roleDefinitionIdOrName: '53ca6127-db72-4b80-b1b0-d745d6d5456d' // Azure AI User
689+
roleDefinitionIdOrName: '53ca6127-db72-4b80-b1b0-d745d6d5456d' // Foundry User
690690
}
691691
]
692692
tags: allTags

0 commit comments

Comments
 (0)