Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

chore: Delete dead code

Clémence Lesné520372558d69
diff --git a/bicep/app.bicep b/bicep/app.bicep
index 5b10eaa..647f235 100644
--- a/bicep/app.bicep
+++ b/bicep/app.bicep
@@ -302,16 +302,6 @@ resource assignmentCommunicationServicesContributor 'Microsoft.Authorization/rol
}
}
-resource assignmentFunctionAppContributor 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
- name: guid(subscription().id, prefix, communicationServices.name, 'assignmentFunctionAppContributor')
- scope: communicationServices
- properties: {
- principalId: functionApp.identity.principalId
- principalType: 'ServicePrincipal'
- roleDefinitionId: roleDataContributor.id
- }
-}
-
resource communicationServices 'Microsoft.Communication/CommunicationServices@2023-06-01-preview' existing = {
name: prefix
}