Bulk convert ObjectGuid to ImmutableID from CSV/TXT

LIT-RS 1 Reputation point
2021-02-18T13:17:02.213+00:00

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:

UserPrincipalName,ObjectGUID,ImmutableID

Thanks

Ron

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,811 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,605 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,964 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 47,506 Reputation points
    2021-02-18T15:38:52.73+00:00

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

    how-to-convert-immutableid-to-objectguid-and-back

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.