Category: PowerShell

Find unique SamAccountName and UPN for User Onboarding in AD with PowerShell

As I am doing automatic User Onboarding/Offboarding very often, I decided to publish 2 Functions to determine the UPN and SamAccountName. This Script handles the most common ways to determine the UPN and SamAccountName. You can decide the Name order by “LastName-FirstName” or “FirstName-LastName” The Delimiter between First and Last the cases, on how many …

Find unique SamAccountName and UPN for User Onboarding in AD with PowerShell Read More »

Delete a Secret from an Azure Application Registration with PowerShell and MS GRAPH API

In this post, we will delete a Secret from an existing Azure Application Registration. Graph API Basics I did an MS Graph API Series some time ago to learn all the Basics that we will not cover in this Post To learn more from Microsoft GRAPH API, see my Blog Series:Part 1 – Authentication and …

Delete a Secret from an Azure Application Registration with PowerShell and MS GRAPH API Read More »

Add a Secret to an Azure Application Registration with PowerShell and MS GRAPH API

In this post, we will create a Secret for an existing Azure Application Registration. Graph API Basics I did an MS Graph API Series some time ago to learn all the Basics that we will not cover in this Post To learn more from Microsoft GRAPH API, see my Blog Series:Part 1 – Authentication and …

Add a Secret to an Azure Application Registration with PowerShell and MS GRAPH API Read More »

Remove a User from an Azure Resource Group Role with PowerShell and Azure Rest API

In this post, I want to show you how to remove a User from an Azure Role in Azure Resource Group with PowerShell using Azure Rest API. Some of the Use cases❗✔️Delegate the Azure Resource Group Role assignment✔️Control your Azure Resource Group Roles outside Azure Portal.✔️Mass removal of Azure Roles in Resource Groups ✔️Many more… …

Remove a User from an Azure Resource Group Role with PowerShell and Azure Rest API Read More »

Monitor your Azure Secrets, Zerts and SPN’s Expire Date with PowerShell

Azure App Registrations are a secure way to provide Credentials and Access to the Azure World. The Amount of Azure App Registrations in a Tenant is increasing very fast, so it is not that easy to control and monitor all those Secrets, Zert, and SPN’s Expire Date. So I have written a PowerShell Script to …

Monitor your Azure Secrets, Zerts and SPN’s Expire Date with PowerShell Read More »

Assign a User to an Azure Resource Group Role with PowerShell and MS Graph API

In this post, I want to show you how you can assign a User to an Azure Role in Azure Resource Group with PowerShell using MS GRAPH API. Some of the Use cases❗✔️Delegate the Azure Resource Group Role assignment✔️Control your Azure Resource Group Roles outside Azure Portal.✔️Mass assignment of Azure Roles in Resource Groups ✔️Many …

Assign a User to an Azure Resource Group Role with PowerShell and MS Graph API Read More »