web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Employee Self Service Portal first time sign-in without using the invitation process

(0) ShareShare
ReportReport
Posted on by

Hi all,

Is there any guidance / documentation available on silently onboarding employees to the ESS?  My scenario is:

  • Azure AD accounts will be created for employees through ADFS and AD Connect
  • Employee data will be loaded (on a daily basis) as Contact records from payroll system to Dynamics 365 online
  • Employee should be able to sign in to the ESS without having to use Registration / Invitation redemption process

There will over 3,500 employees.  ESS licensing is sorted.  I am mainly interested in technical approach / solution.

Thanks,

Hari

*This post is locked for comments

I have the same question (0)
  • PS Profile Picture
    23,577 on at

    Check if this helps:

    dynamicscrmcoe.com/register-dynamics-crm-online-existing-azure-active-directory

  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    6,804 on at

    Hi Hari,

    The new Dynamics 365 Portal is pre-configured to login using Azure AD.  Users can simply to login using their credentials if they have them.

    2843.SignInAzureAD.PNG

  • Hari Prasad Profile Picture
    on at

    Hi Prashant - thanks for the reply but not what I am looking for.

    Hi Nadeeja, the issue is not with logging in using Azure AD.  When a user logs in for the first time to the portal using Azure AD, the portal creates a Contact record and associates the Azure AD guid and security stamp with that contact (you can see that when you switch the Contact form to Portal Contact.  In my scenario, I will already have the contact records created in CRM (through data load).  I don't want to create another contact record for the same person.  What I want to achieve is associating the Azure AD guid and security stamp with the contact record (in the background / powershell / some other mechanism).

  • Verified answer
    Nadeeja Bomiriya Profile Picture
    6,804 on at

    Hi Hari,

    I implemented a solution for ADFS implementation in a recent project for a similar requirement.

    You need to prepare the contact record with all required information.  For example, Username field, External Identity record.  Also need to run the "Reset Security Stamp" workflow which regenerate the security stamp.  Best way to get the information you need to prepare the contact is to create a Contact record by login in via Portal using Azure AD credentials.  You'll see all the relevant URLs and domain names etc.

    Once all required fields are setup, when the user login for the first time, the Portal will NOT create a new Contact.  Instead, it'll use the existing record.

  • Hari Prasad Profile Picture
    on at

    Thanks Nadeeja,

    Looks like exactly what I am looking for.  I have looked at the contact record created when a user first logs in to the portal.  The Username is a guid - I am assuming this is the guid for the user account in Azure AD.  Any information you can share on how you get this guid and update the contact record?

    Hari

  • Verified answer
    Nadeeja Bomiriya Profile Picture
    6,804 on at

    Hi Hari,

    Please see the below screenshot of the workflow.

    Prepare-Contact-for-Portal-Login.png

    Update Contact step, updates the Username field.

    You should be able to get the GUID from PowerShell.

    https://docs.microsoft.com/en-us/powershell/msonline/v1/get-msoluser

    The GUID is the objectid I believe.

  • Hari Prasad Profile Picture
    on at

    Thanks Nadeeja,

    Appreciate your help once again.  Will try this out.

    Hari

  • Blitzey Profile Picture
    370 on at

    Hi Nadeeja,

    How are you creating the 3 process in your workflow? can you please show how you made each? That would be very appreciated.

    Thanks in advance

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans