private/Convert-LicenseSku.ps1
function Convert-LicenseSku { [CmdletBinding()] param ( [Parameter()] [string] $LicenseSku ) # https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/licensing-service-plan-reference switch ($LicenseSku) { MCOMEETADV { "AUDIO CONFERENCING" } AAD_BASIC { "AZURE ACTIVE DIRECTORY BASIC" } AAD_PREMIUM { "AZURE ACTIVE DIRECTORY PREMIUM P1" } AAD_PREMIUM_P2 { "AZURE ACTIVE DIRECTORY PREMIUM P2" } RIGHTSMANAGEMENT { "AZURE INFORMATION PROTECTION PLAN 1" } DYN365_ENTERPRISE_PLAN1 { "DYNAMICS 365 CUSTOMER ENGAGEMENT PLAN ENTERPRISE EDITION" } DYN365_ENTERPRISE_CUSTOMER_SERVICE { "DYNAMICS 365 FOR CUSTOMER SERVICE ENTERPRISE EDITION" } DYN365_FINANCIALS_BUSINESS_SKU { "DYNAMICS 365 FOR FINANCIALS BUSINESS EDITION" } DYN365_ENTERPRISE_SALES_CUSTOMERSERVICE { "DYNAMICS 365 FOR SALES AND CUSTOMER SERVICE ENTERPRISE EDITION" } DYN365_ENTERPRISE_SALES { "DYNAMICS 365 FOR SALES ENTERPRISE EDITION" } DYN365_ENTERPRISE_TEAM_MEMBERS { "DYNAMICS 365 FOR TEAM MEMBERS ENTERPRISE EDITION" } Dynamics_365_for_Operations { "DYNAMICS 365 UNF OPS PLAN ENT EDITION" } EMS { "ENTERPRISE MOBILITY + SECURITY E3" } EMSPREMIUM { "ENTERPRISE MOBILITY + SECURITY E5" } EXCHANGESTANDARD { "EXCHANGE ONLINE (PLAN 1)" } EXCHANGEENTERPRISE { "EXCHANGE ONLINE (PLAN 2)" } EXCHANGEARCHIVE_ADDON { "EXCHANGE ONLINE ARCHIVING FOR EXCHANGE ONLINE" } EXCHANGEARCHIVE { "EXCHANGE ONLINE ARCHIVING FOR EXCHANGE SERVER" } EXCHANGEESSENTIALS { "EXCHANGE ONLINE ESSENTIALS" } EXCHANGE_S_ESSENTIALS { "EXCHANGE ONLINE ESSENTIALS" } EXCHANGEDESKLESS { "EXCHANGE ONLINE KIOSK" } EXCHANGETELCO { "EXCHANGE ONLINE POP" } INTUNE_A { "INTUNE" } SPB { "MICROSOFT 365 BUSINESS" } SPE_E3 { "MICROSOFT 365 E3" } SPE_E5 { "Microsoft 365 E5" } SPE_E3_USGOV_DOD { "Microsoft 365 E3_USGOV_DOD" } SPE_E3_USGOV_GCCHIGH { "Microsoft 365 E3_USGOV_GCCHIGH" } SPE_F1 { "Microsoft 365 F1" } CRMPLAN2 { "MICROSOFT DYNAMICS CRM ONLINE BASIC" } CRMSTANDARD { "MICROSOFT DYNAMICS CRM ONLINE" } IT_ACADEMY_AD { "MS IMAGINE ACADEMY" } O365_BUSINESS { "OFFICE 365 BUSINESS" } SMB_BUSINESS { "OFFICE 365 BUSINESS" } O365_BUSINESS_ESSENTIALS { "OFFICE 365 BUSINESS ESSENTIALS" } SMB_BUSINESS_ESSENTIALS { "OFFICE 365 BUSINESS ESSENTIALS" } O365_BUSINESS_PREMIUM { "OFFICE 365 BUSINESS PREMIUM" } SMB_BUSINESS_PREMIUM { "OFFICE 365 BUSINESS PREMIUM" } STANDARDPACK { "OFFICE 365 ENTERPRISE E1" } STANDARDWOFFPACK { "OFFICE 365 ENTERPRISE E2" } ENTERPRISEPACK { "OFFICE 365 ENTERPRISE E3" } DEVELOPERPACK { "OFFICE 365 ENTERPRISE E3 DEVELOPER" } ENTERPRISEPACK_USGOV_DOD { "Office 365 E3_USGOV_DOD" } ENTERPRISEPACK_USGOV_GCCHIGH { "Office 365 E3_USGOV_GCCHIGH" } ENTERPRISEWITHSCAL { "OFFICE 365 ENTERPRISE E4" } ENTERPRISEPREMIUM { "OFFICE 365 ENTERPRISE E5" } ENTERPRISEPREMIUM_NOPSTNCONF { "OFFICE 365 ENTERPRISE E5 WITHOUT AUDIO CONFERENCING" } DESKLESSPACK { "OFFICE 365 F1" } MIDSIZEPACK { "OFFICE 365 MIDSIZE BUSINESS" } OFFICESUBSCRIPTION { "OFFICE 365 PROPLUS" } LITEPACK { "OFFICE 365 SMALL BUSINESS" } LITEPACK_P2 { "OFFICE 365 SMALL BUSINESS PREMIUM" } WACONEDRIVESTANDARD { "ONEDRIVE FOR BUSINESS (PLAN 1)" } WACONEDRIVEENTERPRISE { "ONEDRIVE FOR BUSINESS (PLAN 2)" } POWER_BI_ADDON { "POWER BI FOR OFFICE 365 ADD-ON" } POWER_BI_PRO { "POWER BI PRO" } POWER_BI_STANDARD { "POWER BI STANDARD" } PROJECTCLIENT { "PROJECT FOR OFFICE 365" } PROJECTESSENTIALS { "PROJECT ONLINE ESSENTIALS" } PROJECTPREMIUM { "PROJECT ONLINE PREMIUM" } PROJECTONLINE_PLAN_1 { "PROJECT ONLINE PREMIUM WITHOUT PROJECT CLIENT" } PROJECTPROFESSIONAL { "PROJECT ONLINE PROFESSIONAL" } PROJECTONLINE_PLAN_2 { "PROJECT ONLINE WITH PROJECT FOR OFFICE 365" } SHAREPOINTSTANDARD { "SHAREPOINT ONLINE (PLAN 1)" } SHAREPOINTENTERPRISE { "SHAREPOINT ONLINE (PLAN 2)" } MCOEV { "SKYPE FOR BUSINESS CLOUD PBX" } MCOIMP { "SKYPE FOR BUSINESS ONLINE (PLAN 1)" } MCOSTANDARD { "SKYPE FOR BUSINESS ONLINE (PLAN 2)" } MCOPSTN2 { "SKYPE FOR BUSINESS PSTN DOMESTIC AND INTERNATIONAL CALLING" } MCOPSTN1 { "SKYPE FOR BUSINESS PSTN DOMESTIC CALLING" } MCOPSTN5 { "SKYPE FOR BUSINESS PSTN DOMESTIC CALLING (120 Minutes)" } VISIOONLINE_PLAN1 { "VISIO ONLINE PLAN 1" } VISIOCLIENT { "VISIO Online Plan 2" } WIN10_PRO_ENT_SUB { "WINDOWS 10 ENTERPRISE E3" } WIN10_VDA_E5 { "Windows 10 Enterprise E5" } IDENTITY_THREAT_PROTECTION { "IDENTITY AND THREAT PROTECTION" } FLOW_FREE { "MICROSOFT FLOW FREE" } POWERAPPS_VIRAL { "Microsoft Power Apps & Flow" } RMSBASIC { "RMS BASIC"} STREAM { "MICROSOFT STREAM"} WINDOWS_STORE { "WINDOWS STORE FOR BUSINESS"} } } |