• About

Information Dynamics

Information Dynamics

Monthly Archives: November 2015

AD FS Customization

28 Saturday Nov 2015

Posted by GIRISH SRINIVASA in ADFS

≈ Leave a comment

In the article we looked at installation and configuration of Active Directory Federation Services (AD FS) on Windows Server 2012. In this post we explore customizations that can be done for the out of the box sign in page.

The default sign in page looks like the one below:

DefaultSign

Open PowerShell on the AD FS server and run the following commands. Change the image file accordingly.

PowerShellCommands

After the above commands are run the modified sign-in page looks like the one below.

ModifiedSignIn

Other customization’s that can be done are listed in the article

 

Step 2 – Configuring CRM to use Claims Based Authentication

21 Saturday Nov 2015

Posted by GIRISH SRINIVASA in CRM2015

≈ 2 Comments

In Step1 we looked at configuring the CRM platform with the aid of Deployment Manager GUI to enable claims based authentication. In this post we will look at the steps involved in configuring Relying Party trust in AD FS. Microsoft has provided a detailed guide here. I did find some issues while configuring the claims rule set and will highlight it as we walk through the steps.

  1. Create rule for Claims provider trust (Active Directory) for UPN

Capture1

Right click choose Edit Claims and then “Add Rule..” in the dialog box

Capture1.1

Capture3

Capture4

Click Finish to add this Rule, the Acceptance Transform Rules looks like

Capture2

 

2. Create Relying Party trust, choose Relying Party Trust in the AD FS Management console.

RPConfigure1

RPConfigure2

RPConfigure3

RPConfigure4

RPConfigure5

RPConfigure6

RPConfigure8

Once the above steps are completed the Edit Claims Rules dialog box opens up where we configure the Rules.

RPConfigure9

 

 

RPConfigure10

RPConfigure11

RPConfigure12

RPConfigure13

RPConfigure14.1

Edit Global Primary Authentication policy to enable Forms Based Authentication.

 

AuthenticationPolicy

Once the above steps are completed go DEV-WFE01 and try accessing the CRM organization I have set up an org called ACM. (could be any name)

https://xrm.dev.local/ACM comes up with the following:

SigningToSts

This will redirect to:

https://sts.dev.local/adfs/ls/wia?wa=wsignin1.0&wtrealm=https%3a%2f%2fxrm.dev.local%2f&wctx=rm%3d1%26id%3dc68e12fd-17d4-4b11-aa86-1cd38f8c1784%26ru%3d%252fACM%252fdefault.aspx&wct=2015-11-22T19%3a12%3a23Z&wauth=urn%3afederation%3aauthentication%3awindows

and once successful will display the main page of CRM Organization:

 

 

SuccessfulSigningToSts

This completes configuring claims based authentication for Dynamics CRM platform

 

 

 

Steps for Configuring CRM to use claims-based authentication

21 Saturday Nov 2015

Posted by GIRISH SRINIVASA in CRM2015, CRM2016

≈ Leave a comment

In the article there is description of how claims based authentication works in the context of CRM platform. In this post I will details the steps involved to get this working for the deployment scenario as shown here. The detailed information will be split into posts viz., Step 1 & Step2

Pre-Requisites:

  1. Setup and configure Active Directory Fedaration Services (AD FS) on Windows Server 2012 R2 and the steps involved are described here
  2. Enabled CRM platform for Claim-based Authentication and this is done through Deployment Manager. The steps are detailed below with the a series of screen snap shots.
  3. Set up Relying-Party trust in AD FS
  • Open Deployment Manager GUI and the summary screen will indicate whether claims-based authentication is enabled/disabled.

Screen1

  • Click on Configure Claims-Based Authentication and if the access point is not set to use HTTPS the following will be displayed

Screen2

  • Click on Action > Properties and enter the following settings

Screen4

  • Now click on Configure Claims-Based Authentication

Screen5

Screen6

Screen7

Screen8

Screen9

Screen10

Screen11

  • Click on View the log file to make note of the url that needs to be added to the Relying Party trust in the AD FS management console.

Screen12

Things to Check:

By default the CRM platform set up does not configure the web site for SSL. This step needs to done manually.

Screen20

Once the above steps are completed. You need to ensure that browsing to the Internal Federation Metadata URL as indicated above returns content without any errors. If the following error is displayed then the cause will be missing read permissions for the private key on the certificate.

XRMPrivateKeyNoPermissionResolution: Open MMC and assign read permissions to service account used for the certificate in use.

XRMPrivateKeyPermission

Once the internal federation metadata URL loads the XML data without any errors the expected Claims set from ADFS is listed as below and while configuring ADFS the outgoing claims will be upn,name and primarysid

ClaimSet

Issues Connecting to Exchange 2013

01 Sunday Nov 2015

Posted by GIRISH SRINIVASA in Uncategorized

≈ Leave a comment

While setting up the CRM 2015 using multi-server topology as outlined here, one of the issues I encountered is that the Office 2013 installed on Windows 7 Client could not connect to Exchange Server 2013. The error message from Outlook reads along the lines shown in the snap shot below.

Screen4

This occurs if a default gateway is not configured on Outlook 2013 Client computer. The following is the work around:

Use Reg.exe tool to disable the DefConnectOpts value.

RegAdd

Querying the result of above addition

RegQuery

The Microsoft support link here provide more information on this issue. The information detailed here references Outlook 2007, the same is applicable to Outlook 2013 with the exception that the path to the registry will be …\Microsoft\Office\15.0\Outlook\RPC…

Subscribe

  • Entries (RSS)
  • Comments (RSS)

Archives

  • November 2021
  • August 2021
  • July 2021
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • March 2019
  • September 2018
  • February 2018
  • January 2018
  • December 2017
  • January 2017
  • August 2016
  • January 2016
  • November 2015
  • October 2015
  • September 2015
  • November 2014
  • October 2014
  • September 2014
  • July 2014

Categories

  • ADCS
  • ADFS
  • ADFS 4.0
  • ASP.NET Core
  • Azure
  • Azure AD
  • Azure AD DS
  • Azure B2C
  • CRM 2011
  • CRM2013
  • CRM2015
  • CRM2016
  • Docker
  • Dynamics 365
  • Dynamics 365 CE Online
  • Dynamics 365 Portals
  • Dynamics CE 9
  • Knockout and TypeScript
  • OAuth2.0/OpenIDConnect
  • Power Platform
  • PowerApps
  • PowerShell
  • SharePoint 2019
  • Spkl
  • Uncategorized
  • WebAPI
  • Windows Server 2012
  • Windows Server 2016

Meta

  • Register
  • Log in

Blog at WordPress.com.

  • Follow Following
    • Information Dynamics
    • Already have a WordPress.com account? Log in now.
    • Information Dynamics
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...