Azure AD Client ID Mismatch in Teams App Developed with VS Teams Toolkit
Hello Community,
I've been working on a multi-tenant Microsoft Teams application using the Visual Studio Teams Toolkit. I've recently changed the CDN address of the app to point to a different storage container with a slightly different version of my Azure app, but I'm facing some issues with Azure AD authentication. The other version works when authentication runs though its single instance Azure AD App Registration and doesn't go through the CDN. To my understanding I should just be able to points the CDN origin to a different storage container and have that work.
What I'm trying to achieve:
I have a verified multitennant Azure AD application registration that points to an authenticated domain and URL. The URL points to my CDN and the CDN points to the storage container (rttab) where the teams app is held. This all works fine for the version of the app on the rttab storage container. I have another storage container called rtsingletab this was set up in another tenant and this version works fine as there is a separate azure ad app registration single tenant for this. I want to be able to have the CDN point at whatever storage container I want to use at the time so I can easily switch what the multitenant registration app storage container is pointing to. This will make it easy to show different aspects of my app to clients.
What I've Checked:
- The
aad.manifest.json
andmanifest.json
files in the VS Code project - Azure AD configurations in Azure Portal
- Reply URLs configured in Azure Portal for the Azure AD application
Question:
- How can I correct this client ID mismatch?
- Are there additional settings or files that I should be aware of in order to debug and solve this issue?
Any help would be greatly appreciated.
Thank you!