Skip to content

Masterjx9/MIcrosoft-Autolicense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

MIcrosoft-Autolicense

Adds or Removes a license from your Microsoft Tenant

What Works?

Adding a License to your microsoft Tenant Removing a License from your microsoft Tenant

What does not work:

Logging into using MFA (More explained below)

Prerequisites:

NOTE: This account cannot have MFA on it as there is no way to pyotp with a 64base qrcode picture. If anyone has any ideas let me know. :)

Instructions:

Download the microsoftlicense.py file into a folder.
Open the microsoftlicense.py file using your editor of choice. Look for the dictionary object called msdata and enter the following information:

Then (as an admin) from CMD, powershell, or vscode run python3 microsoftlicense.py or python microsoftlicense.py depending on your version of python and OS.

How can I find my skuurl for the subscription I want to manipulate? - Go to https://admin.microsoft.com/Adminportal/Home#/subscriptions then click on the subscription you want. Use that url for the skuurl

About

Adds or Removes a license from your Microsoft Tenant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages