If you are migrating from a product that normalised the user identifier it received from LDAP, you will want to do the same with ADFS if you are intending to keep personalisations by maintaining the end-user's targetedIDs.
To do so you can now ask the service desk to turn on case normalisation for your connection's unique identifier.
You no longer need to use the method detailed below, but we've left it here in case it's useful or if you prefer to add a custom rule to the claims issuance policy.
In your ADFS management console...
- go to the relying party trust you have set up for OpenAthens
- select the Edit Claim Issuance Policy option
- Add a new rule
- Select 'Send Claims Using a Custom Rule' from the drop down
- Give it a name and past the following into the custom rule box:
You will need to edit two things in the above rule:
- Where is says
", change this to be the similarly formed attribute that caries the data you used with your old system as the user identifier. There is a list of these in ADFS under Service > Claim Descriptions. Common ones are be
(user principal name).
- Where it says
"claimNameToOutput"set the name of the claim you want to pass to OpenAthens. This could be the same as the source claim (e.g.
), or could be something like
- Where is says
- Save and make sure it is lower down the list than anything else that might output the same claim name
That rule seems... long?
Unfortunately ADFS rules don't have commands such as lower or upper, or full regex support.
What if I want it normalised to upper case?
Swap the letters around - e.g. ("a", "A"), "b", "B"). etc...
Is it the same in Azure?
The rule will be the same, but the interface may be different.