How to connect to multiple azure active directory account to your application?

Rafay Hassan

I need to login in a NodeJS application using multiple Azure AD and fetch user details. I am not sure how to achieve this?

Currently, our application is communicating with an App that is associated with the one Azure AD. Normal Users from the new Azure AD are unable to login into the our system using Office365 credentials because Office365 is not allowing our app to access the users’ profile associated with new Azure AD. But the users of new Azure AD with the role of Global Admins can log in onto our app. When normal users try to login onto our application the following message is displayed

<Name of the App> needs permission to access resources in your organization that only an admin can grant. Please ask an admin to grant permission to this app before you can use it.

Is this possible to connect to multiple Azure AD using the same application? And how to achieve this? Please add links and screenshots.

Rafay Hassan

People who might face a similar issue with Azure AD in the Future.

In the settings of the app that you create in the Azure AD, you can make it multi-tenant and you can also specify what type of resources/data your app needs to access. There are two types of resources/data/actions that you access for the one you require admin role and for the other you don't.

If you are trying to access data related

To make multi-tenant:

Azure AD > App Registeration > Your App > Settings > Properties 

To update the permissions:

Azure AD > App Registeration > Your App > Settings > Required Permissions (Update them here)

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

How to allow my Azure web application to access Active Directory?

分類Dev

Azure active directory application registration for localhost and production

分類Dev

Assign UPN to Azure Active Directory Application Registration

分類Dev

Login with OAuth2 And Azure Active Directory With Personal account microsoft

分類Dev

After migrating to Azure, how can I query my organization Active Directory from within the application now hosted in Azure?

分類Dev

Multi-Tenant application using Azure Active Directory

分類Dev

Azure Active Directory Domain Services - Use AAD Connect and then Remove It to Populate Users

分類Dev

Enabling CORS on Azure Active Directory

分類Dev

Getting all users per application Azure Active Directory .NET Web Api C#

分類Dev

Azure service to query Azure Active Directory

分類Dev

How to create an Azure function and configure it with Azure Active Directory only by code in Localhost?

分類Dev

How to check for the active Application?

分類Dev

Can I sync a single active directory user account?

分類Dev

Verifying JWT from Azure Active Directory

分類Dev

Azure Active Directory - Access Denied in New Portal

分類Dev

Access token for Azure Active Directory and single sign on

分類Dev

Get all AppRole assignments in Azure Active Directory

分類Dev

Writing a register page for Windows Azure Active Directory

分類Dev

Azure Mobile Services Active Directory Login unauthorized

分類Dev

Can't join Azure Active Directory

分類Dev

SonarQube and Azure Active Directory Domain services

分類Dev

JWT CSOM / REST Azure Active Directory

分類Dev

How to get the active authenticated gcloud account?

分類Dev

How to add app roles under manifest in Azure Active Directory using Powershell script

分類Dev

PowerShell: How to add 1 user to multiple Active Directory Security Groups - Security tab of the security group with write permission

分類Dev

connect to Sql Server with Active Directory from nodejs on a linux machine

分類Dev

How to Connect to an API in Your React Native With Expo?

分類Dev

Directory Sync AD Connect multiple Domains

分類Dev

How to connect Azure Web Application (App Service/Website) to Network Security Group?

Related 関連記事

  1. 1

    How to allow my Azure web application to access Active Directory?

  2. 2

    Azure active directory application registration for localhost and production

  3. 3

    Assign UPN to Azure Active Directory Application Registration

  4. 4

    Login with OAuth2 And Azure Active Directory With Personal account microsoft

  5. 5

    After migrating to Azure, how can I query my organization Active Directory from within the application now hosted in Azure?

  6. 6

    Multi-Tenant application using Azure Active Directory

  7. 7

    Azure Active Directory Domain Services - Use AAD Connect and then Remove It to Populate Users

  8. 8

    Enabling CORS on Azure Active Directory

  9. 9

    Getting all users per application Azure Active Directory .NET Web Api C#

  10. 10

    Azure service to query Azure Active Directory

  11. 11

    How to create an Azure function and configure it with Azure Active Directory only by code in Localhost?

  12. 12

    How to check for the active Application?

  13. 13

    Can I sync a single active directory user account?

  14. 14

    Verifying JWT from Azure Active Directory

  15. 15

    Azure Active Directory - Access Denied in New Portal

  16. 16

    Access token for Azure Active Directory and single sign on

  17. 17

    Get all AppRole assignments in Azure Active Directory

  18. 18

    Writing a register page for Windows Azure Active Directory

  19. 19

    Azure Mobile Services Active Directory Login unauthorized

  20. 20

    Can't join Azure Active Directory

  21. 21

    SonarQube and Azure Active Directory Domain services

  22. 22

    JWT CSOM / REST Azure Active Directory

  23. 23

    How to get the active authenticated gcloud account?

  24. 24

    How to add app roles under manifest in Azure Active Directory using Powershell script

  25. 25

    PowerShell: How to add 1 user to multiple Active Directory Security Groups - Security tab of the security group with write permission

  26. 26

    connect to Sql Server with Active Directory from nodejs on a linux machine

  27. 27

    How to Connect to an API in Your React Native With Expo?

  28. 28

    Directory Sync AD Connect multiple Domains

  29. 29

    How to connect Azure Web Application (App Service/Website) to Network Security Group?

ホットタグ

アーカイブ