---
title: "Codeunit 9018 Azure AD Plan Impl."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/9018-azure-ad-plan-impl/
type: codeunit
id: 9018
name: "Azure AD Plan Impl."
app: "System Application"
namespace: System.Azure.Identity
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/9018-azure-ad-plan-impl/source/24/ https://jonas-paprotka.de/ref/codeunit/9018-azure-ad-plan-impl/source/25/ https://jonas-paprotka.de/ref/codeunit/9018-azure-ad-plan-impl/source/26/ https://jonas-paprotka.de/ref/codeunit/9018-azure-ad-plan-impl/source/27/ https://jonas-paprotka.de/ref/codeunit/9018-azure-ad-plan-impl/source/28/ https://jonas-paprotka.de/ref/codeunit/9018-azure-ad-plan-impl/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 9018 Azure AD Plan Impl.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/9018-azure-ad-plan-impl/

| | |
| --- | --- |
| App | System Application |
| Namespace | System.Azure.Identity |
| Versions | 17-28 |
| Source file | Azure AD Plan/src/AzureADPlanImpl.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| IsPlanAssigned | (Guid) | Boolean | public | 17-28 | - | - |
| IsPlanAssignedToUser | (Guid) | Boolean | public | 17-28 | - | - |
| IsPlanAssignedToUser | (Guid, Guid) | Boolean | public | 17-28 | - | - |
| IsGraphUserEntitledFromServicePlan | (var DotNet UserInfo) | Boolean | public | 17-28 | - | - |
| UpdateUserPlans | (Guid, var DotNet UserInfo, Boolean, Boolean) | - | public | 17-28 | - | - |
| UpdateUserPlans | (Guid, Boolean, Boolean, Boolean) | - | public | 17-28 | - | - |
| UpdateUserPlans | () | - | public | 17-28 | - | - |
| RefreshUserPlanAssignments | (Guid) | - | public | 17-28 | - | - |
| TryGetAzureUserPlanRoleCenterId | (var Integer, Guid) | Boolean | public | 17-28 | - | - |
| DoPlansExist | () | Boolean | public | 17-28 | - | - |
| DoUserPlansExist | () | Boolean | public | 17-28 | - | - |
| DoesPlanExist | (Guid) | Boolean | public | 17-28 | - | - |
| DoesUserHavePlans | (Guid) | Boolean | public | 17-28 | - | - |
| GetAvailablePlansCount | () | Integer | public | 17-28 | - | - |
| SetTestInProgress | (Boolean) | - | public | 17-20 | - | - |
| CheckMixedPlans | () | - | public | 17-23 | - | - |
| CheckMixedPlans | (Dictionary, Boolean) | - | public | 17-23 | - | - |
| MixedPlansExist | () | Boolean | public | 17-28 | - | - |
| MixedPlansExist | (Dictionary, var Text, var Text, var Text, var Text) | Boolean | public | 17-23 | - | - |
| GetPlanIDs | (DotNet UserInfo, var List) | - | public | 17-28 | - | - |
| GetPlanNames | (DotNet UserInfo, var List) | - | public | 17-28 | - | - |
| GetPlanNames | (Guid, var List) | - | public | 17-28 | - | - |
| CheckIfPlansDifferent | (DotNet UserInfo, Guid) | Boolean | public | 17-28 | - | - |
| IsBCServicePlan | (Guid) | Boolean | public | 18-28 | - | - |
| AssignDelegatedAdminPlanAndUserGroups | () | - | public | 19-20 | - | - |
| GetAllPlanIds | () | List | public | 21-28 | - | - |
| IsUserExternal | () | Boolean | public | 21-22 | - | - |
| AssignPlanToUserWithDelegatedRole | (Guid) | - | public | 21-27 | - | - |
| GetUserPlanExperience | () | Enum User Plan Experience | public | 24-28 | - | - |
| CheckMixedPlansExist | () | Boolean | public | 24-28 | - | - |
| CheckMixedPlansExist | (Dictionary) | Boolean | public | 24-28 | - | - |
| MixedPlansExist | (Dictionary) | Boolean | public | 24-28 | - | - |
| AssignPlanToUserWithDelegatedRole | (Guid, Boolean) | - | public | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Internal event | OnBeforeIsBcServicePlan | (var Boolean) | 21-28 | - | - |
| Internal event | OnInitializeRoleCenter | (var Integer, var Boolean) | 21-28 | - | - |

## Source

Symbols: Microsoft.SystemApplication.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 24: https://github.com/microsoft/BCApps, MIT, releases/24.x at fe14d3e6db00d28df3a69c7bba830813d70794e2.
AL source 25: https://github.com/microsoft/BCApps, MIT, releases/25.x at 68d52c129129c83b2e396a473aaa5b2ce61d2eed.
AL source 26: https://github.com/microsoft/BCApps, MIT, releases/26.x at 78c4acf0d64a8eee157ea80164fa8fc2acffc9eb.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at 1749020b4c9445a43e4f7f540e89b7fa76ec25fd.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 740f59156b249f8ed7cba2e28423f03ae7b07233.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
