marcells / streamdeck-microsoft365

Elgato Stream Deck Plugin for Microsoft 365
MIT License
4 stars 1 forks source link

Doesn't work with Multi-tenant Azure accounts #3

Open danperks opened 4 months ago

danperks commented 4 months ago

Hey, assumed I'd hit some issue like this due to trying to connect this to my business account but this addon doesn't like multi-tenant accounts, which I don't think is too hard of a fix.

Error details: error invalid_request error_description: AADSTS50194: Application 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'(StreamDeck Integration) is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after '10/15/2018'. Use a tenant-specific endpoint or configure the application to be multi-tenant.

The code does have "common" as the hardcoded tenant ID. Any change of a new version where that is configurable?

Good work regardless, bet this works well for those who can use it! :)

marcells commented 1 month ago

Hm, that should work. I tested it with a personal and organizational account.

Did you follow this guide? https://github.com/marcells/streamdeck-microsoft365/blob/main/docs/CreateAzureApp.md