fetch the stringid

Glenn Maxwell 11,841 Reputation points
2024-11-29T06:42:11.4733333+00:00

Hi All,

I need to find the string IDs for the following subscriptions. For example, the string ID for Office 365 E5 is ENTERPRISEPREMIUM, and for Office 365 E3 it is ENTERPRISEPACK. Please guide me on how to obtain the string IDs for the products listed below?

Visual Studio Enterprise

Visual Studio Enterprise with GitHub Enterprise

Visual Studio Professional with GitHub Enterprise

Visual Studio Professional

Visual Studio Test Professional

MSDN Platforms

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,618 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,398 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marti Peig 75 Reputation points Microsoft Employee
    2024-11-29T11:52:37.6366667+00:00

    Hi Glenn,

    You can check Product names and service plan identifiers for licensing, or you can use Powershell as follows.

    # Connect to Graph.
    Connect-MgGraph
    
    # Get license skus
    $licenseSkus
    
    # Download the document from Microsoft
    $translationTable
    
    # Foreach Sku in your tenant, get the Friendly name.
    $skus
    foreach
        
    }
    
    
    

    Be careful in Product_Display_Name. You'll see I've added  because it is being read from the file. Possibly a weird character.

    The output should look like this.

    Product_Display_Name                      String_Id
    -----------------------                      ---------
    Visio Plan 2                                 VISIOCLIENT
    Microsoft Stream                             STREAM
    Power BI Pro                                 POWER_BI_PRO
    Microsoft Copilot for Microsoft 365          Microsoft_365_Copilot
    Windows Store for Business                   WINDOWS_STORE
    Office 365 E3                                ENTERPRISEPACK
    Microsoft Power Automate Free                FLOW_FREE
    Microsoft Power Apps Plan 2 Trial            POWERAPPS_VIRAL
    Microsoft Teams Premium Introductory Pricing Microsoft_Teams_Premium
    
    

    Enjoy!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.