Category: Azure
Ok, Now that we have syncronized our customers licenes to a local DB, we have this new commandlet to list them. This is a easy one, no advanced tokens setup to connect to Microsoft endpoint, only local database. function get-tenantlics { <#…
Read more →
Ok, Now that we have syncronized our customers licenes to a local DB, we have this new commandlet to list them. This is a easy one, no advanced tokens setup to connect to Microsoft endpoint, only local database. function get-tenantlics { <#…
Read more →
This is a followup from previus post. In this post I will populate the database with what licenses a tenant has aquired. This will add records of what aquired skus and ‘usage’. For me this is how many license are bought versus how many are …
Read more →
This is a followup from previus post. In this post I will populate the database with what licenses a tenant has aquired. This will add records of what aquired skus and ‘usage’. For me this is how many license are bought versus how many are …
Read more →
Now that we have our tenants listed in a database table, listing them is quite easy. Added a switch that allow you to also list deleted/removed tenants. function get-tenantlistindb { param( [switch]$all ) $SQLInstance = "localhost\SQLExpres…
Read more →
Hi, I like to keep control of how many licenses our cutomers use versus how many have been purchased. Here is 1st part my PS script to copy the info from csp to the DB. I will start creating a database and table to keep a list of all the te…
Read more →
This is a small script that connects to partnercenter list all customers tenants and let you select one. When one is selected it connects to azuread and az for that customer. All my credentials are stored in SecretServer . I use a web servi…
Read more →
In this part 3 of CSP and powershell I will show how you can connect to azureAD of a customer tenant using your CSP app credentials and refreshtoken. This is almost the same procedure as we use to connect to az. We will start with the same …
Read more →
In part 1 we created the Azure Enterprise App for Partnercenter and used this information to connect using powershell and connect-partnercenter. Now we will use this to connect to one of our customers tenants. First we will use AZ module an…
Read more →
A short explanation of how to access customer tenant using a CSP tenant SPN credential connectiong to AzureAD and AZ. Have been struggling for a while to manage all our customers tenants using powershell scripts. It can be complicated to or…
Read more →