This folder contains scripts that complement the functionality of the Azure Education portal.
Task | Script(s) | Documentation |
Bulk Sandbox Deployment Automation | change-vm-state.shcreate-vm-image.shdeploy-vm.sh | Educators want a simple way to provide students with VMs based on a specific VM image (for example, Data Science VM), so students can learn the fundamentals of data science. These scripts achieve the following user stories: Ability to deploy multiple DSVMs (Data Science Virtual Machine) in either Windows, Ubuntu, of Linux CentOS Ability to deploy VMs from marketplace image, custom image, or DSVM Ability to deploy VMs across one or multiple subscriptions (i.e. Each VM can be in its own subscription) Ability for each VM to have its own Resource Group Ability to create a clean VM image from a VM |
Create bulk accounts | createstudents.shstudents.csv | This bash script will read a list of accounts to create from a csv to bulk create email addresses for students taking a course. It will assign an Azure subscription to each of the students. Full instructions can be found in the file createstudentsInstructions.md. IMPORTANT NOTE: Accounts created with this script will NOT be able to access the Azure classic portal. This script creates accounts based on Role Based Access Control (RBAC) and puts limitations on the accounts created. You can see a complete list of features available in the Azure portal vs the Azure classic portal in this Azure portal availability chart. |
View billing information | Azure Billing Portal | Viewing detailed account usage presents challenges when using credit based subscriptions. The Azure Usage and billing portal is a complete solution that creates a website and PowerBI dashboard to visualize Azure service billing and usage details. This solution can be used whether students are given access to Azure through the Azure Education Portal subscriptions or through Azure passes. You set up the solution for the faculty member. The students register their Azure subscription with the system and the professor is able to view usage and billing for each registered user. Full documentation on how to install and use the tool is available on Github Azure Billing Portal GitHub. |
Create Azure Resource Groups and sign user access. Perfect solution for Group projects | EduPortalAzureBulkCreate.psm1 NewUsers.csvNewResourceGroups.csv | This is a set of Powershell scripts which will help you perform tasks on your azure subscriptions. Simply run the command functions within Powershell.
Functions:
|
Bulk Adding AAD Existing users via Powershell | BulkAddAAD.ps1 Data.txt | This Powershell script reads a list of accounts to a .txt file, then assigns an Azure subscription to each of the students. Full instructions can be found in the file BulkAddAADInstructions.md. IMPORTANT NOTE: Accounts created with this script will NOT be able to access the Azure classic portal. This script creates accounts based on Role Based Access Control (RBAC) and puts limitations on the accounts created to a contributor. You can see a complete list of features available in the Azure portal vs the Azure classic portal in this Azure portal availability chart. |
Listing all your Azure Subscriptions via Powershell | ListAzureSubs.ps1 | This Powershell script lists the Azure Subscriptions and then lists a table format of the Azure SubscriptionName and Azure SubscriptionID. Simply run the commands. Navigate to the directory where the script lives. PS> cd C:\my_path\yada_yada\ (enter) Execute the script: PS> .\ListAzureSubs.ps1 (enter) Or you can run the PowerShell script from cmd.exe like this: powershell -noexit C:\my_path\yada_yada\ListAzureSubs.ps1 (enter) Then copy and paste your Subscription IDs into the Excel for assigning users. |
Useful Commands for Azure Subscription via Powershell | AzureSubsCommands.md | This is a set of Powershell scripts which will help you perform tasks on your Azure subscriptions. Simply run the commands within Powershell. |