Skip to content

Commit

Permalink
white space in bicep file
Browse files Browse the repository at this point in the history
  • Loading branch information
rabwill committed Apr 4, 2024
1 parent c232b64 commit ede31ef
Showing 1 changed file with 0 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,16 @@
@minLength(4)
@description('Used to generate names for all resources in this file')
param resourceBaseName string

@maxLength(42)
param botDisplayName string

param botServiceName string = resourceBaseName
param botServiceSku string = 'F0'
param botAadAppClientId string
param botAppDomain string
param graphEntraAppClientId string

@secure()

param graphEntraAppClientSecret string

param connectionName string

// Register your web service as a bot with the Bot Framework
resource botService 'Microsoft.BotService/botServices@2021-03-01' = {
kind: 'azurebot'
Expand Down Expand Up @@ -53,45 +47,24 @@ resource botServiceM365ExtensionsChannel 'Microsoft.BotService/botServices/chann
}
}
resource botServicesMicrosoftGraphConnection 'Microsoft.BotService/botServices/connections@2022-09-15' = {

parent: botService

name: connectionName

location: 'global'

properties: {

serviceProviderDisplayName: 'Azure Active Directory v2'

serviceProviderId: '30dd229c-58e3-4a48-bdfd-91ec48eb906c'

clientId: graphEntraAppClientId

clientSecret: graphEntraAppClientSecret

scopes: 'email offline_access openid profile Sites.ReadWrite.All'

parameters: [

{

key: 'tenantID'

value: 'common'

}

{

key: 'tokenExchangeUrl'

value: 'api://${botAppDomain}/botid-${botAadAppClientId}'

}

]

}

}

0 comments on commit ede31ef

Please sign in to comment.