Skip to content

A simple web app to return Azure AD product/service plan information in JSON

License

Notifications You must be signed in to change notification settings

colemujadzic/askew

Repository files navigation

askew

A little web app that exposes a simple interface to grab Azure AD product/SKU friendly names in JSON. Data returned by the /products endpoint is itself scraped from the Azure Active Directory documentation.

Sample Usage

  • GET /products
[
    {
        "productName": "APP CONNECT IW",
        "stringID": "SPZA_IW",
        "guid": "8f0c5670-4e56-4892-b06d-91c085d7004f",
        "servicePlansIncluded": [
            "SPZA (0bfc98ed-1dbc-4a97-b246-701754e48b17)",
            "EXCHANGE_S_FOUNDATION (113feb6c-3fe4-4440-bddc-54d774bf0318)"
        ],
        "servicePlansIncludedFriendlyNames": [
            "APP CONNECT (0bfc98ed-1dbc-4a97-b246-701754e48b17)",
            "EXCHANGE FOUNDATION (113feb6c-3fe4-4440-bddc-54d774bf0318)"
        ]
    },
    {
        "productName": "AUDIO CONFERENCING",
        "stringID": "MCOMEETADV",
        "guid": "0c266dff-15dd-4b49-8397-2bb16070ed52",
        "servicePlansIncluded": "MCOMEETADV (3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40)",
        "servicePlansIncludedFriendlyNames": "AUDIO CONFERENCING (3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40)"
    },
...
  • GET /products/<stringID>
{
    "productName": "EXCHANGE ONLINE ESSENTIALS",
    "stringID": "EXCHANGE_S_ESSENTIALS",
    "guid": "e8f81a67-bd96-4074-b108-cf193eb9433b",
    "servicePlansIncluded": "EXCHANGE_S_ESSENTIALS (1126bef5-da20-4f07-b45e-ad25d2581aa8)",
    "servicePlansIncludedFriendlyNames": "EXCHANGE_S_ESSENTIALS (1126bef5-da20-4f07-b45e-ad25d2581aa8)"
}

Server

The server can be run in a Docker container, via the provided Dockerfile.

To build the image yourself:

git clone git@github.com:colemujadzic/askew.git
cd askew
docker build --tag your_name/askew .

To run the image:

docker run --publish 3000:3000 --detach your_name/askew

Why even do this?

Good question! I'm not sure! The Azure AD documentation includes an infrequently updated list of these, but I wasn't able to find a simple interface to access them programmatically (without resorting to using PowerShell, etc.)

tl;dr this is mainly just for fun!

About

A simple web app to return Azure AD product/service plan information in JSON

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published