# Difference between Microsoft Social IDP and Azure AD Enterprise IDP

**URL:** <https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943>\
**Category:** OAuth/OIDC\
**Tags:** idp\
**Created:** [February 21, 2024, 4:59pm UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943 "2024-02-21T16:59:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raju001](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raju001](https://devforum.okta.com/u/Raju001)\
**Post date:** [February 21, 2024, 4:59pm UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943/1 "2024-02-21T16:59:34Z")

</div>

Could any please explain the difference between Okta Social Microsoft IDP and Azure AD Enterprise IDP from the User Perspective point of view. The steps provided in Microsoft are similar to those required to register an application in Azure Portal. Social Microsoft only requires Client ID and Client Secret, while Azure AD requires Open ID end points information. is it case like users of azure ad idp cant use social microsoft and vice versa. Would be good if anyone can give use case for both IDPs

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 21, 2024, 5:09pm UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943/2 "2024-02-21T17:09:09Z")

</div>

There are differences between the two, especially when it comes to the endpoints used.

If configuring Azure as an OIDC IdP in your Okta org, then you will be providing _tenant specific_ endpoints for Okta to make requests to to log users into this IdP (as mentioned in our guide [here](https://developer.okta.com/docs/guides/add-an-external-idp/azure/main/#create-an-identity-provider-in-okta)). When using the Microsoft Social IdP, the endpoints are _not_ tenant specific.

I assume that there are also going to be limitations on what users are able to log in via this IdP, where only users within your Azure tenant can use the Azure AD OIDC IDP, whereas the Microsoft Social provider will work for _any_ Microsoft users, regardless of tenant. If you only want to allow internal users to use this IdP, you will likely want to set up an Azure AD OIDC IdP instead.

Honestly though, you’re going to find more thorough information from the Microsoft side about the difference between these two.

---

<div class="post-metadata">

**Author:** ![Raju001](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raju001](https://devforum.okta.com/u/Raju001)\
**Post date:** [February 22, 2024, 6:34am UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943/3 "2024-02-22T06:34:43Z")

</div>

So i am assuming because Social Microsoft IDP in Okta is for all Microsoft Accounts (Personal) it does not require any endpoints information and will work with Client Id and Client Secret. This will allow any tenant user right??

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 22, 2024, 7:29pm UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943/4 "2024-02-22T19:29:05Z")

</div>

Okta already has the endpoint information when using the built-in Microsoft Social IdP within Okta, so, right, you only need the client credentials detail from the IdP to complete the connection. And yes, it is my understanding that the Social IdP would allow users from any Microsoft tenant (enterprise or personal) to access your org

---

<div class="post-metadata">

**Author:** ![Raju001](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raju001](https://devforum.okta.com/u/Raju001)\
**Post date:** [February 27, 2024, 12:59pm UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943/5 "2024-02-27T12:59:35Z")

</div>

Can u give some information on how Okta has Endpoints information for Social IDPS, like any documentation where it has mentioned or mechanism by which it gets this information. Thank you for responses.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 27, 2024, 5:42pm UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943/6 "2024-02-27T17:42:01Z")

</div>

I don’t see any documentation that discusses this. Our Enterprise IdP connections are a lot like our OIN apps for SSO/LCM etc, where they have been added to Okta after having been configured and tested by Okta.

If you do encounter an issue with one of these Identity Providers, definitely let us know (by reaching out to support) so we can investigate this further.

---

<div class="post-metadata">

**Author:** ![Raju001](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raju001](https://devforum.okta.com/u/Raju001)\
**Post date:** [March 19, 2024, 8:49am UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943/7 "2024-03-19T08:49:51Z")

</div>

I tried to create Open Id IDP using Common end points from my Azure Entra ID which has account type as (Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)) such that all users with a work or school, or personal Microsoft account can use your application or API. This includes Office 365 subscribers. so that it will take personal microsoft accounts as well tenant specific accounts as well but it gives error [com.saasure.platform.services.idp.exception.IdpAuthenticationException: Issuer is invalid in id\_token](https://trial-7759020-admin.okta.com/report/system_log_2?search=&fromTime=2024-03-12T00%3A00%3A00Z&toTime=2024-03-19T23%3A59%3A59Z&locale=Asia%2FCalcutta&limit=20&view=list&topLeftLongitude=-174.375&topLeftLatitude=77.23507365492469&bottomRightLongitude=177.18749999999997&bottomRightLatitude=-44.84029065139799&mapZoom=2#)

What we want to achieve is single open id idp in Okta which will permit all types account which microsoft provides e.g. single tenant, multiple tenant.

Another thing i am failing to understand is when i am using Microsoft social idp instead of Open id and just provide client id, client secret it works

is their anything that i am missing, i have verified urls they are correct

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [March 20, 2024, 8:38pm UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943/8 "2024-03-20T20:38:33Z")

</div>

Double check the “Issuer” value you set in the IdP config. I did a quick check in our logs and I’m seeing that the token validation is failing (when we go to validate the tokens we received from Entra), and it looks like the failure is because the issuer in the token does not match the one configured for the IdP, namely that the tenant ids are completely different.

Based on our logs, the ID token we received from Entra has an `iss` value of `https://login.microsoftonline.com/9188040d-xxxxxxxxxxxxxx/v2.0`, but the OIDC Identity Provider created in Okta says that the Issuer will instead be `https://login.microsoftonline.com/62962632-xxxxxxxxxxxxxxx` (both of these values have been masked), demonstrating that the tenant IDs are different AND the token’s `iss` value ends with `/v2.0`

I will say that for your use case, it sounds like the built in Microsoft Social IdP will be a better fit for you if you want to allow any user with a Microsoft account access to your org/apps and not just ones associated with _your_ Microsoft tenant.

The validation I described above is going to cause you problems otherwise, as Okta will only accept tokens that were issued by the expected issuer.

---

<div class="post-metadata">

**Author:** ![Raju001](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raju001](https://devforum.okta.com/u/Raju001)\
**Post date:** [March 22, 2024, 11:56am UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943/9 "2024-03-22T11:56:40Z")

</div>

i checked using token end point of microsoft application to see issuer in id Token,  
and got issuer url from it and it does not use tenant-id that i was expecting it nor does it used common, bit surprising from micrsoft end.

Thanks for the help.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [April 21, 2024, 11:57am UTC](https://devforum.okta.com/t/difference-between-microsoft-social-idp-and-azure-ad-enterprise-idp/26943/10 "2024-04-21T11:57:06Z")

</div>

Closed on April 21, 2024, 11:57am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
