question

flowdev1-9949 avatar image
0 Votes"
flowdev1-9949 asked saldana-msft edited

I want my app to behave like Slack. (Teams Online Meet)

Hello,
I’m have question about Azure login.
I have create an app through Azure Portal - Azure Active Directory.
However, users from other organizations cannot access to my application.

Is there anyway users from other organizations can directly access my application just by logging in to their account? Just like Slack?
The only way we can give an access is we manually add it as my tenant's guest.

Thank you for your time.

microsoft-graph-teamworkmicrosoft-graph-usersoffice-skype-business-server-conferencing
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

CarlZhao-MSFT avatar image
0 Votes"
CarlZhao-MSFT answered CarlZhao-MSFT commented

Hi @flowdev1-9949

Of course, you just need to change your application to multi-tenant application and then change /tenant id to /common when users from other organizations log in.

201355-2022-05-12-162909.png


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 15
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

201347-%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA-2022-05-12-%E1%84%8B%E1%85%A9%E1%84%92%E1%85%AE-63244.png




It is set up as multi-tenant. However
There is an error saying that it does not belong to this app's tenant. Slack is available to all users.

Translation is not smooth using a translator.

I am attaching an error message as well.



AADSTS50020: User account 'gisa3@kyowon.co.kr' from identity provider 'https://sts.windows.net/6aba328a-b414-4a52-bf31-46f3e35e8b39/' does not exist in tenant 'Madrascheck' and cannot access the application '9adf41af-3031-41a0-aaad-eeba5a7a35ab'(flow) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

Request Id: c05e7479-682e-4ae6-b8f2-a9ea6977a900
Correlation Id: 4b3d5ed6-cc4f-47de-925d-fbfb00377d20
Timestamp: 2022-05-12T09:34:16Z
Message: AADSTS50020: User account 'gisa3@kyowon.co.kr' from identity provider 'https://sts.windows.net/6aba328a-b414-4a52-bf31-46f3e35e8b39/' does not exist in tenant 'Madrascheck' and cannot access the application '9adf41af-3031-41a0-aaad-eeba5a7a35ab'(flow) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

0 Votes 0 ·

Hi @flowdev1-9949 Did you change /tenant id to /common?

0 Votes 0 ·

Hi @flowdev1-9949 Your login URL must use the /common endpoint because users from other organizations are not in your tenant, so you cannot log in using the /tenant id endpoint.

 https://login.microsoftonline.com/common
0 Votes 0 ·

It seems that we are one step closer to solving the problem. thank you.

But I faced another problem.

Thanks to your help, I was able to get an Access Token.

However, when I tried to open an online meeting with the issued Access Token, a problem arose.

{"error":{"code":"Forbidden","message":"","innerError":{"request-id":"3913d119-9fa1-4ddd-a295-1519278f7bc0","date":"2022 -05-12T11:58:22","client-request-id":"3913d119-9fa1-4ddd-a295-1519278f7bc0"}}}

This error does not occur when creating an Online Meeting with an account that is within the Tenant, it only happens to people outside your organization.

Maybe I need to change the app settings?


0 Votes 0 ·
Show more comments