Bulk convert ObjectGuid to ImmutableID from CSV/TXT

LIT-RS 1 Reputation point

Hi all,

We have approx 1000 users. I have an export of ObjectGuid values for all users.

I have the AzureAD Converter tool where I Individually copy the ObjectGUID and click the ImmutableID button to get the ImmutableID. but... we'd be here all day if we have to do that for 1000 users.

Is there a batch script I can use on-premise AD (Get-ADUser) where I can import the list of 1000 ObjectGuids (in either txt or csv format etc.) and then get the export of corresponding ImmutableIDs in a list either in an exported file or displayed in shell?

I don't wish to write these to MSOL objects at this stage as I will be doing that manually and in phases, but I just want an export of something like this in a CSV/text file:




Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,150 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,173 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,523 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 42,906 Reputation points

    So, you don't want a different value for the immutableid, you just want to convert the GUID to an acceptable format?


    0 comments No comments