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

Windows for business Windows Client for IT Pros Directory services Active Directory
Windows for business Windows Server User experience PowerShell
Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 47,901 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.