Relative Content

Tag Archive for powershellazure-active-directory

PowerShell – AzureAD Report SAM Account Name Pull

I am using the below code in PowerShell to create a CSV file from Azure AD which lists our North America users and some of their account properties. The current code works great. However, I am trying to add an additional column/property to the report to pull the SAM Account Name

PowerShell – AzureAD Report Export

I was able to find this AzureAD script below which can help me export Azure users into a CSV file using Powershell. I was hoping if someone can help me adjust it, so that it is also filtering by Country or Region in Azure profile = United States or Canada. I would also like to replace the License object with City if possible: