1
votes

I'm trying to create users in bulk by following this documentation: https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/users-bulk-add

I logged into Azure Portal with the following account:

image

I created a csv file with the following details:

image

I see the following error message:

The user name in the uploaded file is not valid. Change the user name in the uploaded file to be a valid user name in your Azure AD. Ensure the domain portion of the user name is verified in your Azure AD or is the initial domain name (like *.onmicrosoft.com). Then resubmit your request.

What am I missing? Am I using an account that is a User administrator in the organization? How do I verify that?

2

2 Answers

4
votes

There were whitespaces in the beginning of User Name field. After removing whitespaces, I was able to upload csv file successfully.

0
votes

For Now Azure Does not let "bulk create" users other than verified domain and b2ctenant.onmicrosoft.com .

You can look more about this feature here : https://github.com/MicrosoftDocs/azure-docs/issues/41804