Skip to content

Commit e40cd0f

Browse files
fixed provision failing issue
1 parent d6c3dad commit e40cd0f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

extensions/teams/infra/azure.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@maxLength(20)
1+
@maxLength(25)
22
@minLength(4)
33
@description('Used to generate names for all resources in this file')
44
param resourceBaseName string

extensions/teams/infra/botRegistration/azurebot.bicep

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@maxLength(20)
1+
@maxLength(25) // Changed from 20 to 25 to match parent template
22
@minLength(4)
33
@description('Used to generate names for all resources in this file')
44
param resourceBaseName string
@@ -20,6 +20,8 @@ resource botService 'Microsoft.BotService/botServices@2021-03-01' = {
2020
displayName: botDisplayName
2121
endpoint: 'https://${botAppDomain}/api/messages'
2222
msaAppId: botAadAppClientId
23+
msaAppType: 'SingleTenant'
24+
msaAppTenantId: subscription().tenantId
2325
}
2426
sku: {
2527
name: botServiceSku

0 commit comments

Comments
 (0)