This article discusses the issue of users not appearing in a Dataverse environment until their first login and how to solve this problem. When a Security Group is assigned to a Dataverse Environment, users need to be part of the selected Microsoft Entra ID Group in order to be added. The article suggests using a PowerShell cmdlet or a Power Automate flow to force the synchronization of users from Azure AD to the Dataverse environment. However, even after synchronization, users may not be added to the Dataverse Team connected to the Entra ID Group until their first login. The article provides a C# code example to programmatically impersonate users and simulate a login to associate them with the Team.
Login now to access my digest by 365.Training