Skip to content

Commit 78d95fa

Browse files
Merge pull request #256 from microsoft/sfi-code-fix
fix: Deployment issue
2 parents 3da8176 + 3250602 commit 78d95fa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Deployment/bicep/modules/azurecognitiveservice.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ resource cognitiveService 'Microsoft.CognitiveServices/accounts@2022-03-01' = {
1616
kind: 'FormRecognizer'
1717
properties: {
1818
customSubDomainName: cognitiveServiceName
19+
publicNetworkAccess: 'Enabled'
1920
}
2021
}
2122

Deployment/bicep/modules/azureopenaiservice.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ resource openAIService 'Microsoft.CognitiveServices/accounts@2023-05-01' = {
1313
}
1414
properties: {
1515
customSubDomainName: openAIServiceName
16+
publicNetworkAccess: 'Enabled'
1617
// Add any specific properties if needed
1718
}
1819
}

0 commit comments

Comments
 (0)