--- title: "Configuring AzureAD as RapidIdentity Trusted IDP" slug: "configuring-azuread-as-rapididentity-trusted-idp" updated: 2024-07-08T16:09:20Z published: 2024-07-08T16:09:20Z canonical: "help.rapididentity.com/configuring-azuread-as-rapididentity-trusted-idp" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.rapididentity.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring AzureAD as RapidIdentity Trusted IDP You can configure AzureAD as RapidIdentity Trusted IDP. This will allow you to utilize your AzureAD password as an Authentication Method in Authentication Policies. ### AzureAD Configuration 1. Login to your Azure portal at [https://portal.azure.com](https://portal.azure.com) 1. At the top, search for and then click on Azure Active Directory. ![](https://lh7-us.googleusercontent.com/3-9QFGEP0O-F3MGELvugw4myypUOiI0ut9cgM4OHCdgOK73ssXOjVxPIVJ8Pen4OPIaSUK7-agEvnQbYxikbuJUkZ7Gg5b-shzJmSVn6TRjG7kPH4fLMeqJYzEwHss-NZAeY8TOXuGiYjWw4VSVhYPE) 2. In the left pane, click on Enterprise applications 1. Click **New Application** ![](https://lh7-us.googleusercontent.com/KksRRQWR5VFSGksk8O-ZFaZeCOGiz_PtIoF_crwTIMDZUstDXTsrWgKH1cDdYzCAPKr7-hr3mYHfP-vwYdB58IxI0Kh2kdxTVSzPZvXOcLbsdQEPI91Uci9vR2jjb-bUszC2g2dB3c6-cR79vLli5kY) 2. Click **Create your own application** 1. App Name: RapidIdentity 2. Leave the “Integrate any other application you don’t find in the gallery (Non-gallery) checked. 3. Click Create 3. On the Overview page of your new RapidIdentity Enterprise application, click on Assign users and groups to only apply this configuration to your test user(s). 4. Back on the Overview page, click on *2. Set up single sign on* 1. In Azure, click **Upload metadata file** and upload the RapidIdentity SP metadata located: https:///idp/sp-metadata.xml. ![](https://lh7-us.googleusercontent.com/HSjnpYHutA-RIAfY8LwZlCEWSJoGlPuE81befB2KWMVobsfVlYFaoy3k7ke6TspbNM29UVvdmVVaDl9akl8mPMH97XZAn5V5QlR267gctpXoT9HZ4rvtpnZKxPGc61pjNeGe75xw9DrnvdxM2TC168c) 2. This will populate the **Basic SAML Configuration** box with the RapidIdentity Entity ID and ACS URL ![](https://lh7-us.googleusercontent.com/QihKIzMP8BBM9qvDJYCiu-SD6m6Raq2yCF6T8KKQ-Q9WZV3VEv1hHX6LogJFUAb9LhWUxUDXWrlCbhkBaopK69vx3aIYjpMPARui9BWzvDTqML1HBXKGgedbCSW75KeDNJ49HEN9p6jcH1Kt98vbPHE) 3. In the User Attributes & Claims, you can leave the defaults. ![](https://lh7-us.googleusercontent.com/RzgNrcsX_0HzaEjPx8D2gLN2BZD16V1Tv69zJuLdASGzHzVZeNHWf7HemhZcgVeSZWywWKtEeAU8aNK4QEvj8S4CSN8kZ1lMYUMvoDxMf3cyuyqZuu3drYVLfVjrnnMggYqIK0yEv9Ntrv00mtPZyFg) 4. Download the certificate in Base64 format, then copy the Login URL, and the Azure AD Identifier from the places below. You will need to plug these into RapidIdentity in the next steps: ![](https://lh7-us.googleusercontent.com/lxvXI3JL4XClN5KzG27ahnf8qfynqc_ER3bU5XTEfLcF8WFVtNUGTFzYr4yqHrgRHwruZ0U3WRHJYcvZCft9oG9_QlVUSfen3cZMUdiVW93watMXQewhYTCYFAK2F0q5FZbpYmTsAaSzYgZtTzKDPuk) ### RapidIdentity Configuration 1. From RapidIdentity, browse to **Configuration > General > Settings** 1. On the **CORS** page, set[](https://login.microsoftonline.com/)[https://login.microsoftonline.com](https://login.microsoftonline.com) as an Allowed Origin 2. Browse to **Configuration > Security > Identity Providers > Trusted IDPs** and click on **Add Trusted Identity Provider**. 1. Plugin the Azure **EntityID, Login URL, and Certificate** into the boxes below: ![](https://lh7-us.googleusercontent.com/3Rq9Ba-G86Um8CmZY5swy-pIm74uadVv_b4fuxTCX23y3tWDmEDy-EJupn8p0SYQ75V02OgAoBGqa2Q2DVAL7KzVL-rqYi-totRCW4vHhLea9SKe82NfIQPQj_LQIk84WpDIHTTnYPyi5eERLUFvYEk) 2. The value for Signing Certificate can be retrieved by opening the Azure certificate in Notepad or from the Azure Metadata XML. It will be enclosed in tags in the Metadata file. 3. On the attribute mappings, create mappings for **user.givenname, user.surname, user.mail, and user.userprincipalname** ![](https://lh7-us.googleusercontent.com/iY0Wvjyin5O9e6I1DlTuVRIzg01AdfaFR7D9kwpe3j8UIwMSR5EFk56vM0o2ghDKaNO6ueeu6Cc0LVxBXyCeVWizRuRhfp2JYEQjqEuK0hXpxdCIDZdoqjPyhgFiVSfASDV0_6suIvXqn5u0omK49Ng)![](https://lh7-us.googleusercontent.com/4ohKGV9O-g-xY2847o_cnwCywqIG-dvXK1Dg-fVpTgkhwZ69YQVLydVCLCsXoaadQDUugd7xJcenSxPpCGCAeIe_ZHBCzZvlL0-PRW_TRKPQbLwaM90VQe5gaTjGsgB6RRhhEPtW2hfcI8mfYfkJBfA) 4. Click **Save** 3. Browse to **Configuration > Policies > Authentication** to create an authentication policy to force your test user to use the Trusted IDP configuration. Example below: ![](https://lh7-us.googleusercontent.com/gubBWB30lTHz-djHVq3s9DLfpSr9L1uVqAIgPNEpBj-MnJU0PJXKHgTYR-vJqiabzOPLNFjxaN5x4Q99v2p7idYjkjeuTncrWfDitBiUxeOacVLQ8yRMJu0MNlH3UyZc7W8AP6GLDR1KSmD7Sdog_OE) ![](https://lh7-us.googleusercontent.com/g6Oji-QOyAgF6ZcZ4kOGSvfzWjsu3_2wOEJw2CG4JYUPXW-DS8-ntI0lCiC7Q0dC3htxbaxkQrXNQ9EO9OosPjL_9il7EDNtH2OOYRyGqpsywLqxd4Pg9X9AKfzzSdtAtYWJKVP1GfuAr2b1uwKsv64) ### Utilizing AzureAD Login Hints To pass the user’s email address from RapidIdentity to the Office 365 login page automatically, follow this article [Trusted IDP Query Parameter Support](/v1/docs/trusted-idp-query-parameter-support) ### Troubleshooting ### You should now be ready to test logging in with your test account. If you receive a page that only hasthe “Start Over” button, that means that either your attribute mappings are incorrect or the Signing Certificate you are using in RI’s Trusted IDP config is incorrect. - For attribute mappings, try changing the nameID from user.userprincipalname to user.mail in your Azure Enterprise application configuration. - For the Signing Certificate, you can get the correct format for the certificate from the Azure Metadata XML file which is enclosed in the tags.