Just wanted to provide an update on this
Managed to get it working correctly!
I deleted all of the created resources in Azure, aside from the Subscription and the resource group
Fulfilling the following prerequisites:
- Check whether the Get started button to connect to an existing Azure resource is visible on the Phone numbers page. The Get Started button appears only in the following scenarios.
- The trial ends after the free calling time elapses.
- You manually ended the trial.
- Trial was previously manually ended
- You disconnected from the Azure resource. For more information, refer to Disconnect from Azure Communication Services resource.
- I think we may have connected to the previous ACS resource so this was deleted and recreated
- Have an Azure subscription that's in the same tenant as your Dynamics 365 account. Ensure that your Azure subscription meets the Subscription eligibility and number capabilities requirements.
- correct tenant (same tenant) confirmed
- Have at least contributor-level permissions to the Azure subscription. To check your role, open your subscription and view the My role column of your subscription on the Azure portal. You can deploy your Azure Communication Services resource only if you have contributor-level permissions.
- confirmed to have correct permissions as owner of resource/global admin
I think this was one of the key steps that may have been misconfigured previously:
I created a new Azure resource in the Contact Centre admin centre, as here:
Once this was registered here, it was added to app registrations in Azure, including for the Incoming call, call recording and SMS webhooks
This showed that Azure was correctly pulling through the webhook information from Dynamics
My advice for anyone having a similar issue in future is to remove and recreate all Azure resources aside from the Azure subscription and the resource group, and to follow this
and this
and it should resolve the issue. If setup correctly the event subscriptions should pull through from Dynamics as above and be listed under Event Grid System Topic -> Subscriptions within the Azure resource on the Azure Portal
Azure setup within Contact Centre admin centre in Dynamics should look like the following:
The event grid app id should match the Azure app registration for the Azure communication resource here, highlighted in yellow:
This should correctly configure the Event Grid to deliver events to the Dynamics webhooks in order to deliver calls and SMS to Dynamics in order for users in the Contact Centre workspace to receive incoming calls. You will then need to configure both Voice channels and workstreams in order to manage the incoming calls, assign them to users/routing, and configure default behaviour of the D365 interface