Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Ever needed to get the tenantId based on the Azure AD domain? This API makes that a simple task.

License

Notifications You must be signed in to change notification settings

dewhurstwill/az-tenant-lookup

Repository files navigation

Azure Tenant ID Lookup

Ever needed to get the tenantId based on the Azure AD domain? This API makes that a simple task.

Basic/Dev Use

  1. Run npm run start:dev
  2. Navigate to https://localhost/find-tenant/by-domain/{your_domain}

Running Tests

  1. Run npm run test

Prod Use

  1. Run npm run build
  2. (Optional) Set the FRONTEND_CORS_ORIGIN environment variable to change the frontend origin
  3. (Optional) Set the PORT environment variable to a different port, defaults to 80
  4. Serve the code npm run start

If you like frontend challenges try creating something like this using this API

About

Ever needed to get the tenantId based on the Azure AD domain? This API makes that a simple task.

Topics

Resources

License

Stars

Watchers

Forks