Codeunit 9029 Azure AD User Sync Impl.

System Application, System.Azure.Identity

src/System Application/App/Azure AD User Management/src/User sync/AzureADUserSyncImpl.Codeunit.al18 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

FetchUpdatesFromAzureGraph line 56

  1. 63writesTable 9010 Azure AD User Update Buffer DeleteAll
  2. 66callsCodeunit 9012 Azure AD Graph IsEnvironmentSecurityGroupDefined
  3. 67callsFetchUpdatesFromEnvironmentDirectoryGroup
  4. 69callsFetchUpdatesForLicensedUsers
  5. 70callsFetchUpdatesForDeviceUsers
  6. 73callsFetchUpdatesForSkippedUsers
  7. 74callsHandleRemovedUsers

FetchUpdatesForLicensedUsers line 78, local

  1. 91callsCodeunit 9016 Azure AD Plan GetAllPlanIds
  2. 92callsCodeunit 9027 Plan Ids GetMicrosoft365PlanId
  3. 93callsCodeunit 9027 Plan Ids GetGlobalAdminPlanId
  4. 94callsCodeunit 9027 Plan Ids GetD365AdminPlanId
  5. 95callsCodeunit 9027 Plan Ids GetBCAdminPlanId
  6. 96callsConvertList
  7. 98callsCodeunit 9012 Azure AD Graph GetLicensedUsersPage
  8. 105callsGetUpdatesFromGraphUserInfo

FetchUpdatesForDeviceUsers line 110, local

  1. 116callsCodeunit 9012 Azure AD Graph GetGroupMembers
  2. 122callsGetUpdatesFromGraphUserInfo

FetchUpdatesFromEnvironmentDirectoryGroup line 126, local

  1. 135callsCodeunit 9012 Azure AD Graph GetMembersPageForGroupId
  2. 135callsCodeunit 9012 Azure AD Graph GetEnvironmentSecurityGroupId
  3. 142callsCodeunit 9016 Azure AD Plan GetPlanIDs
  4. 144callsGetUpdatesFromGraphUserInfo
  5. 148callsCodeunit 9012 Azure AD Graph GetEnvironmentSecurityGroupId

FetchUpdatesForSkippedUsers line 152, local

  1. 166callsCodeunit 9843 User Selection FilterSystemUserAndAADGroupUsers
  2. 175callsCodeunit 9024 Azure AD Graph User TryGetUserAuthenticationObjectId
  3. 176callsCodeunit 9012 Azure AD Graph TryGetUserByObjectId
  4. 178callsCodeunit 9016 Azure AD Plan GetPlanIDs
  5. 179callsCodeunit 9027 Plan Ids GetGlobalAdminPlanId
  6. 180callsCodeunit 9027 Plan Ids GetD365AdminPlanId
  7. 181callsCodeunit 9027 Plan Ids GetBCAdminPlanId
  8. 182callsCodeunit 9012 Azure AD Graph IsEnvironmentSecurityGroupDefined
  9. 182callsCodeunit 9027 Plan Ids GetMicrosoft365PlanId
  10. 184callsGetUpdatesFromGraphUserInfo

HandleRemovedUsers line 193, local

  1. 202callsCodeunit 9843 User Selection FilterSystemUserAndAADGroupUsers
  2. 208callsCodeunit 9016 Azure AD Plan DoesUserHavePlans
  3. 210callsCodeunit 9017 Azure AD User Mgmt. Impl. IsUserDelegated
  4. 213callsAddChangesForRemovedUser

GetUpdatesFromGraphUserInfo line 219, local

  1. 228callsCodeunit 9024 Azure AD Graph User GetUser
  2. 230callsAddChangesForExistingUser
  3. 233callsCodeunit 9016 Azure AD Plan GetPlanIDs
  4. 234callsSkipCreatingUserDuringSync
  5. 236callsAddChangesForNewUser

SkipCreatingUserDuringSync line 247, local

  1. 252callsCodeunit 9012 Azure AD Graph IsEnvironmentSecurityGroupDefined
  2. 256callsCodeunit 9027 Plan Ids GetGlobalAdminPlanId
  3. 256callsCodeunit 9027 Plan Ids GetD365AdminPlanId
  4. 256callsCodeunit 9027 Plan Ids GetBCAdminPlanId
  5. 256callsCodeunit 9027 Plan Ids GetMicrosoft365PlanId

AddChangesForNewUser line 263, local

  1. 274callsGetUpdateEntityFromGraph
  2. 280validatesTable 9010 Azure AD User Update Buffer Update Entity
  3. 282callsCodeunit 9024 Azure AD Graph User GetDisplayName
  4. 285writesTable 9010 Azure AD User Update Buffer Insert

AddChangesForExistingUser line 291, local

  1. 304callsGetUpdateEntityFromGraph
  2. 305callsGetUpdateEntityFromUser
  3. 309callsCodeunit 9016 Azure AD Plan CheckIfPlansDifferent
  4. 322validatesTable 9010 Azure AD User Update Buffer Update Entity
  5. 325callsCodeunit 9024 Azure AD Graph User GetDisplayName
  6. 328writesTable 9010 Azure AD User Update Buffer Insert

AddChangesForRemovedUser line 334, local

  1. 339callsCodeunit 9024 Azure AD Graph User GetUserAuthenticationObjectId
  2. 345validatesTable 9010 Azure AD User Update Buffer Update Entity
  3. 346callsGetUpdateEntityFromUser
  4. 350writesTable 9010 Azure AD User Update Buffer Insert

GetUpdateEntityFromUser line 354, local

  1. 379callsCodeunit 9016 Azure AD Plan GetPlanNames
  2. 380callsConvertListToText

GetUpdateEntityFromGraph line 386, local

  1. 393callsCodeunit 9024 Azure AD Graph User GetAuthenticationEmail
  2. 395callsCodeunit 9024 Azure AD Graph User GetContactEmail
  3. 397callsCodeunit 9024 Azure AD Graph User GetFullName
  4. 400callsCodeunit 9024 Azure AD Graph User GetPreferredLanguageID
  5. 409callsCodeunit 9016 Azure AD Plan GetPlanNames
  6. 410callsConvertListToText

ApplyUpdatesFromAzureGraph line 450

  1. 455callsConsolidatePlansNamesFromGraph
  2. 462callsProcessAllUpdatesForUser

ConsolidatePlansNamesFromGraph line 472, local

  1. 479callsConvertTextToList

ProcessAllUpdatesForUser line 487, local

  1. 497raisesOnApplyUpdateFromAzureGraph
  2. 506writesTable 9010 Azure AD User Update Buffer Modify

ApplyUpdateFromAzureGraph line 514, local

  1. 529callsCodeunit 9024 Azure AD Graph User GetUser
  2. 530callsCreateUser
  3. 542writesTable 2000000120 User Modify
  4. 544callsCodeunit 9024 Azure AD Graph User EnsureAuthenticationEmailIsNotInUse
  5. 546writesTable 2000000120 User Modify
  6. 552writesTable 2000000120 User Modify
  7. 557writesTable 2000000120 User Modify
  8. 562callsCodeunit 43 Language SetPreferredLanguageID
  9. 565callsCodeunit 9016 Azure AD Plan UpdateUserPlans

CreateUser line 572, local

  1. 577callsCodeunit 9017 Azure AD User Mgmt. Impl. CreateNewUserInternal
  2. 585writesTable 2000000120 User Modify