Codeunit 9018 Azure AD Plan Impl.

System Application, System.Azure.Identity

src/System Application/App/Azure AD Plan/src/AzureADPlanImpl.Codeunit.al31 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

IsGraphUserEntitledFromServicePlan line 91

  1. 100callsIsBCServicePlan
  2. 104callsIsDeviceRole

UpdateUserPlans line 111

  1. 117callsGetGraphUserPlans
  2. 121callsCodeunit 9026 User Login Time Tracker UserLoggedInEnvironment
  3. 124callsRemoveUnassignedUserPlans
  4. 127callsAddNewlyAssignedUserPlans

UpdateUserPlans line 131

  1. 136callsCodeunit 9024 Azure AD Graph User GetGraphUser
  2. 140callsRemoveUnassignedUserPlans

UpdateUserPlans line 144

  1. 149callsCodeunit 9843 User Selection FilterSystemUserAndAADGroupUsers

RefreshUserPlanAssignments line 161

  1. 171callsCodeunit 9024 Azure AD Graph User GetGraphUser
  2. 180callsIsDeviceRole
  3. 183callsUpdateUserFromAzureGraph
  4. 184callsUpdateUserPlans

TryGetAzureUserPlanRoleCenterId line 189

  1. 191callsGetAzureUserPlanRoleCenterId

GetUserPlanExperience line 249

  1. 254callsUserHasPlan
  2. 254callsCodeunit 9027 Plan Ids GetPremiumPlanId
  3. 257callsUserHasPlan
  4. 257callsCodeunit 9027 Plan Ids GetEssentialPlanId
  5. 260callsUserHasPlan
  6. 260callsCodeunit 9027 Plan Ids GetBasicPlanId

CheckMixedPlansExist line 273

  1. 275callsShouldCheckMixedPlans
  2. 278callsMixedPlansExist

MixedPlansExist line 288

  1. 311callsCodeunit 9024 Azure AD Graph User TryGetUserAuthenticationObjectId
  2. 326callsPlansExist
  3. 326callsCodeunit 9027 Plan Ids GetBasicPlanId
  4. 327callsPlansExist
  5. 327callsCodeunit 9027 Plan Ids GetEssentialPlanId
  6. 328callsPlansExist
  7. 328callsCodeunit 9027 Plan Ids GetPremiumPlanId
  8. 333callsGetAuthenticationEmailFromAuthenticationObjectID
  9. 334callsGetAuthenticationEmailFromAuthenticationObjectID

ShouldCheckMixedPlans line 342, local

  1. 347callsCodeunit 457 Environment Information IsSaaS
  2. 357callsDoPlansExist
  3. 360callsDoUserPlansExist

GetAuthenticationEmailFromAuthenticationObjectID line 367, local

  1. 372callsCodeunit 9024 Azure AD Graph User GetUser
  2. 375callsCodeunit 9012 Azure AD Graph GetUserByObjectId
  3. 376callsCodeunit 9024 Azure AD Graph User GetAuthenticationEmail

GetPlanName line 381, local

  1. 386callsCodeunit 9027 Plan Ids GetBasicPlanId
  2. 388callsCodeunit 9027 Plan Ids GetEssentialPlanId
  3. 390callsCodeunit 9027 Plan Ids GetPremiumPlanId

PlansExist line 405, local

  1. 415callsGetPlanName

RemoveUnassignedUserPlans line 427, local

  1. 443writesTable 9005 User Plan Insert
  2. 452writesTable 9005 User Plan DeleteAll
  3. 462writesTable 9005 User Plan Delete
  4. 464callsCodeunit 9825 Plan Configuration IsCustomized
  5. 466callsCodeunit 9825 Plan Configuration RemoveCustomPermissionsFromUser
  6. 468callsCodeunit 9825 Plan Configuration RemoveDefaultPermissionsFromUser

GetGraphUserPlans line 477, local

  1. 489writesTable 9004 Plan DeleteAll
  2. 492callsCodeunit 9012 Azure AD Graph IsEnvironmentSecurityGroupDefined
  3. 493callsCodeunit 9012 Azure AD Graph IsMemberOfGroupWithId
  4. 493callsCodeunit 9012 Azure AD Graph GetEnvironmentSecurityGroupId
  5. 494callsIsInternalAdmin
  6. 505callsIsBCServicePlan
  7. 506callsAddToTempPlan
  8. 517callsIsBCServicePlan
  9. 518callsAddToTempPlan
  10. 523callsIsDeviceRole
  11. 525callsCodeunit 9027 Plan Ids GetGlobalAdminPlanId
  12. 525callsCodeunit 9027 Plan Ids GetD365AdminPlanId
  13. 525callsCodeunit 9027 Plan Ids GetBCAdminPlanId
  14. 525callsCodeunit 9027 Plan Ids GetMicrosoft365PlanId
  15. 530writesTable 9004 Plan DeleteAll
  16. 532callsGetDevicesPlanInfo
  17. 534callsAddToTempPlan

IsDeviceRole line 546, local

  1. 548callsCodeunit 9012 Azure AD Graph IsGroupMember

IsInternalAdmin line 552, local

  1. 561callsCodeunit 9027 Plan Ids GetGlobalAdminPlanId
  2. 561callsCodeunit 9027 Plan Ids GetD365AdminPlanId
  3. 561callsCodeunit 9027 Plan Ids GetBCAdminPlanId

GetDevicesPlanInfo line 569, local

  1. 574callsCodeunit 9027 Plan Ids GetDevicePlanId
  2. 575callsCodeunit 9027 Plan Ids GetDevicePlanId

InsertFromTempPlan line 580, local

  1. 586writesTable 9004 Plan Insert

UpdateUserFromAzureGraph line 591, local

  1. 595callsCodeunit 9024 Azure AD Graph User GetGraphUser
  2. 596callsCodeunit 9024 Azure AD Graph User UpdateUserFromAzureGraph

IsBCServicePlan line 601

  1. 608raisesOnBeforeIsBcServicePlan
  2. 616callsCodeunit 9027 Plan Ids GetMicrosoft365PlanId
  3. 620callsCodeunit 9012 Azure AD Graph IsM365CollaborationEnabled

GetAzureUserPlanRoleCenterId line 624, local

  1. 635callsCodeunit 9024 Azure AD Graph User GetGraphUser
  2. 640callsGetGraphUserPlans

AssignPlanToUserWithDelegatedRole line 657

  1. 669callsCodeunit 9024 Azure AD Graph User IsUserDelegatedAdmin
  2. 670callsCodeunit 9027 Plan Ids GetDelegatedAdminPlanId
  3. 671callsCodeunit 9024 Azure AD Graph User IsUserDelegatedHelpdesk
  4. 672callsCodeunit 9027 Plan Ids GetHelpDeskPlanId
  5. 680callsIsPlanAssignedToUser
  6. 686callsDoesUserHavePlans
  7. 690writesTable 9005 User Plan DeleteAll
  8. 696writesTable 9005 User Plan Insert
  9. 709callsCodeunit 9016 Azure AD Plan OnUpdateUserAccessForSaaS
  10. 713callsCodeunit 9822 Plan Configuration Impl. IsCustomized
  11. 713callsCodeunit 9822 Plan Configuration Impl. ConfigurationContainsSuper
  12. 715callsCodeunit 152 User Permissions RemoveSuperPermissions

AddNewlyAssignedUserPlans line 722, local

  1. 741callsInsertFromTempPlan
  2. 745writesTable 9005 User Plan Insert
  3. 749callsCodeunit 9016 Azure AD Plan OnUpdateUserAccessForSaaS
  4. 751callsCodeunit 9822 Plan Configuration Impl. ConfigurationContainsSuper
  5. 752callsCodeunit 9822 Plan Configuration Impl. IsCustomized
  6. 764writesTable 2000000073 User Personalization Modify
  7. 773callsIsUserInternalAdmin
  8. 775callsIsUserAdmin
  9. 778callsCodeunit 152 User Permissions RemoveSuperPermissions

AddToTempPlan line 786, local

  1. 799raisesOnInitializeRoleCenter
  2. 802writesTable 9004 Plan Insert

IsUserAdmin line 807, local

  1. 814callsIsPlanAssignedToUser
  2. 814callsCodeunit 9027 Plan Ids GetGlobalAdminPlanId
  3. 815callsIsPlanAssignedToUser
  4. 815callsCodeunit 9027 Plan Ids GetDelegatedAdminPlanId
  5. 816callsIsPlanAssignedToUser
  6. 816callsCodeunit 9027 Plan Ids GetD365AdminPlanId

IsUserInternalAdmin line 820, local

  1. 827callsIsPlanAssignedToUser
  2. 827callsCodeunit 9027 Plan Ids GetGlobalAdminPlanId
  3. 828callsIsPlanAssignedToUser
  4. 828callsCodeunit 9027 Plan Ids GetD365AdminPlanId
  5. 829callsIsPlanAssignedToUser
  6. 829callsCodeunit 9027 Plan Ids GetBCAdminPlanId

GetPlanIDs line 833

  1. 838callsGetGraphUserPlans

GetPlanNames line 846

  1. 852callsGetGraphUserPlans

CheckIfPlansDifferent line 882

  1. 892callsGetGraphUserPlans

OnAfterDeleteUser line 913, local

  1. 921writesTable 9005 User Plan DeleteAll