Forum Discussion
Notifications not received at callback uri for bot
The error Call source identity invalid with code 7507 and response status 403 indicates that the source identity is not properly configured. This is likely because the bot is not linked to a resource account or does not have the required permissions.
A resource account is required for PSTN calls. The resource account acts as the identity for the bot when making calls. Linking a resource account to your app without using PowerShell can be challenging, as Microsoft Teams typically relies on PowerShell commands (e.g., Set-CsOnlineApplicationInstance) for such configurations.
Thanks Prasad! Could you explain the challenging way of linking them?
- Prasad_Das-MSFTApr 25, 2025
Microsoft
Resource accounts are typically created and managed using PowerShell commands (e.g., New-CsOnlineApplicationInstance), but since you cannot use PowerShell due to company restrictions, you can try the following:
-
- Teams Admin Center:
- Go to Teams Admin Center > Voice > Resource Accounts.
- Create a new resource account and assign it a phone number.
- Assign the Microsoft Teams Phone Resource Account license to the resource account.
- Link the Bot to the Resource Account:
- In the Azure AD App Registration for your bot, ensure that the bot's Application ID is linked to the resource account. This step typically requires PowerShell (Set-CsOnlineApplicationInstance), but you may need to work with your IT admin to complete this step.
- Teams Admin Center:
- ccanning_vMay 12, 2025Copper Contributor
Can't you just add ApplicationInstance to the identity set?
- xddeniseApr 28, 2025Copper Contributor
Thank you. To confirm, there is currently no UI for linking bot's application id to a resource account and it has to be done through powershell?
-