OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
457 stars 188 forks source link

Developer Portal & Azure Apps are not in sync #1379

Open grumpykiwi opened 3 years ago

grumpykiwi commented 3 years ago

Describe the bug The list of registered applications in the new portal does not match those in the Azure AD App Registrations. The App IDs and application names do not match up, making it very confusing. There is 1 app that exists in both places, but named 2 different things, I was able to match it up by referencing the output from the Configuring SSO menu item. Specifically Client ID and Teams ID. These 2 values dont seem to display in both places.

I have a 2nd app in Azure AD that may exist in the portal but I have no way of knowing which one it is.

To Reproduce Steps to reproduce the behavior:

  1. Go to developer portal preview
  2. Go to Azure AD App Registrations
  3. Compare application registrations

Expected behavior I would hope that the 2 portals are in sync. If this is to be the case, which one should we use. If the dev portal, how will I add additional required permissions, either app or delegated in the future?

Screenshots If applicable, add screenshots to help explain your problem.

VS Code Extension Information (please complete the following information):

CLI Information (please complete the following information):

Additional context I can provide screenshots with all the ID's etc, but would rather not post them in here. I can provide via email or some other method

therealjohn commented 3 years ago

@grumpykiwi Thanks for reporting this. I think I know what's going on and we can fix this so that the Teams App and Azure AD registrations naming matches.

grumpykiwi commented 3 years ago

Thanks John. Glad to contribute,

I think the nomenclature describing the different ID's is a bit muddled also. Tenant Id is pretty obvious but Client Id, App Id and the various IDs in the manifest.json file could be clarified. Googling the different terms seems to provide different explanations depending on whether you are coming from an ADAL or Open Auth perspective.

Trying to help myself and fellow developers. Teams dev is fun and challenging, but documentation and decent real world examples are hard to come by. Maybe my primary use case is unique.

Cheers

Mark