martinkearn / Azure-pass-manager

A web application used to manage the distribution of Azure trial pass codes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure Pass Manager

Azure promotional pass codes can be used to evaluate and use Azure services. The codes are often distributed at hackathons and similar events.

This repository contains a web application and associated back-end services used to manage the distribution of Azure trial pass codes.

This solution will not help you get the codes, there is an existing process for that which is available to Microsoft employees via https://requests.microsoftazurepass.com.

You can use the site that is built via this repository at https://aka.ms/azurepassmanager (built on the master branch).

Project History and Credits

This repository is built with thanks and gratitude on the work of a small team within the CSE group at Microsoft who worked on a similar project at an internal hackathon in September 2017. The internal project was not open source but much of the code and architecture in this project was taken (with permission) from the hackathon output, the team was

Since forking the original solution, the work has been carried out with thanks to:

Issues, feedback, feature requests etc

Please use the GitHub issues section to log all feedback.

Usage - Administrators (the people with the codes)

If you work for Microsoft and handle Azure trial codes, this section is for you.

Getting your codes

You'll need some Azure codes first. This is not handled by the Azure Pass Manager system, but it is easy to request in another system.

  1. Order codes at https://requests.microsoftazurepass.com.
  2. 'Passes for Field - {region} FY18' is generally the most appropriate choice as it is managed centrally, but it is up to you
  3. If you request is approved, you'll receive an email with your codes as a CSV file and the expiration date.

Upload your codes and create an event

Follow these steps to get up and running

  1. Go to https://aka.ms/azurepassmanager and sign in with your corporate credentials
  2. Go to Upload Codes and set a name for your event (make it simple and easy to remember), expiration date for the codes (you'll have been told this in the email that contained your CSV) and upload the CSV
  3. Your event is live and codes are available to use. You can view/manage your events at Your Events. View your event to see the URL you should direct users to in order to claim their code
  4. (optional) You may want to use http://aka.ms to setup a short URL for your event; your call.
  5. (optional) You may want to configure a bot in Slack, Teams or Skype as an alterntive way for delegates to claim their code. Links are on the Event Details page

Instructing delegates

You'll need to tell delegates at your event how to get their codes. There are a few choices:

  • Give them a direct URL for your event's Code Claim page. You can get the URL on the event details page. You can get a vanity URL at http://aka.ms if you'd like to (recommended).
  • Give them the event name and direct them to the http://aka.ms/AzurePassManager where they will be prompted to find the event by entering the event name. Spaces should be included and it is not case sensitive.
  • Configure a bot in Slack, Teams or Skype as an alterntive way for delegates to claim their code. Links are on the Event Details page

If delegates attempt to claim more than one code, they may receive an error that says something like "Cheeky! ... You have already requested a code for the EVENTNAMEGOESHERE on this machine and it was CODEGOESHERE. Contact your Microsoft representative if you really need a second code.". If you would like to for them to get a second code, tell them to either use another device or to clear their browser cookies.

Using the bot

You can add the bot to the slack channel by clicking the below link. Delegates should start a 1:1 (private) conversation with the bot to retrieve a code using event name:

Add to Slack

Getting data about your event

When your event is completed, you may want to see data about how many codes were claimed, to do this

  1. Go to https://aka.ms/azurepassmanager and sign in with your corporate credentials
  2. View/manage your events at Your Events
  3. You can view data about used/un-used codes and optionally export them as a CSV (they might be useful at a future event?)

Removing your event and its codes

If you want to clear your event, consider exporting unused codes first, then follow these steps.

  1. Go to https://aka.ms/azurepassmanager and sign in with your corporate credentials
  2. View/manage your events at Your Events
  3. Simply Delete event and codes to remove your event and all codes from the system.

Contact me

Contact Martin.Kearn@Microsoft.com with comments and feedback that you don't want to log as a GitHub issue.

About

A web application used to manage the distribution of Azure trial pass codes

License:MIT License


Languages

Language:C# 70.4%Language:HTML 27.8%Language:CSS 1.7%Language:ASP 0.1%Language:JavaScript 0.0%