How To Bulk add Computer Names to an Entra ID Group

So turns out its not an easy task to just add computer names to a CSV file and upload it to your Entra ID Group as the bulk upload template has a field where you need to add the object id only. As per Picture above, when you hit "Bulk Operations" & select "import member", it then gives you an option to download the CSV file as template. Now in the downloaded CSV, you need to add the ObjectID[s], in place of Example . This leads to 2 steps Solution: 1 > Use PowerShell to extract object Ids into a CSV file, for this you need to add the computer names first in a text file, so our PowerShell goes through each computer and give us the ObjectIDs in another separate CSV file as output, lets call it CSV#2 You can modify as per your needs. ********************************************************************* # Install the AzureAD module if not already installed Install-Module -Name AzureAD # Connect to Azure AD Connect-AzureAD # Path to your text file containing...