MSCRM :: External Auth for Dynamics 365 Portals

Original Post. https://community.dynamics.com/crm/b/thinkdynamicdodynamic/archive/2017/04/02/linkedin-integration-with-dynamics-crm-portals-or-adxstudio-portals
LinkedIn plays a big role in the professional industry as this application really has a huge network, and lots of businesses uses this to build new relationships with customers, as well as prospect companies. LinkedIn integration with CRM Portals or Adxstudio Portal lets you Sign In on Portals with LinkedIn Account as a External or Federated Account.
CRM Portals provide you the provisions of authentication mechanism using External Providers like :
- Microsoft Account
- Yammer
- Yahoo
Today in this article, I am going to explain steps to configure CRM Portals to logged In with LinkedIn account.
Step 1: Create a new Dynamics CRM 365 trial instance (if you have not already made).
Step 2: Configure and Install CRM Portal as per your need (I have installed Customer Self-Service Portal). You can go through below link to configure Portal in Dynamics CRM 365.
http://arpitmscrmhunt.blogspot.in/2016/12/set-up-crm-portal-in-dynamics-crm-365.html
Step 3: Open LinkedIn Developer Network
Step 4 : Click ‘Create Application’ with below details :
- Specify an Application Name, Description, etc.
- Website URL: http://portal.contoso.com
- OAuth User Agreement/Default Scope: r_basicprofie and r_emailaddress
- OAuth 2.0 Redirect Urls: http://portal.contoso.com/signin-linkedin
- Click Add Application
Step 6 : Now it’s time to create some Site Settings in CRM:
You can get the below site settings from Adxstudio Community.
Site Setting Name | Description |
---|---|
Authentication/Registration/ExternalLoginEnabled |
Enables or disables external account sign-in and registration. Default:
true |
Authentication/OpenAuth/[provider]/ClientId |
Required. The client ID value from the provider application. It may also be referred to as an “App ID” or “Consumer Key”.
The following setting names are allowed for backwards compatibility:
|
Authentication/OpenAuth/[provider]/ClientSecret |
Required. The client secret value from the provider application. It may also be referred to as an “App Secret” or “Consumer Secret”.
The following setting names are allowed for backwards compatibility:
|
Step 7: Once you done with these Site Settings configurations (under Portal > Site Settings) in CRM. You will be able to see LinkedIn Option on CRM Portal Sign In page.
Step 8: As soon as you will click on LinkedIn, you will be redirected to LinkedIn Authenticated page for authentication
Step 9: Enter your credentials and click on ‘Allow Access’. You will redirected now to Portal Profile page in order to complete your Registration.
Complete your registration by filling the given information and do click on ‘Update’, You will be redirected to Portal home page
Recent Comments