New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with creating users in bulk #59463
Comments
@xyz92 Thank you for your feedback . We will investigate and update the thread further. |
@xyz92 Can you check if there is any whitespace before or after the "User name [userPrincipalName]" field values? I could reproduce your error by adding an whitespace. After removing that it was all fine. |
@xyz92 We have now updated the doc explicitly mentioning to check whitespace. The update should get published within few hours. Please feel free to revert if it does not solve your problem or have any further issue. |
@krish-gh Thank you! I don't have any whitespaces in the username. I still see the issue. Could you reopen this issue? Just to confirm the values in Name, Username, Initial password can be test values correct? |
From the screenshot you shared above, it looks like you have space in the beginning of UPN. That's why I suspected it. |
@xyz92 During troubleshooting over chat, it was found you had blank space at the end of UPN and after cleaning it, it worked. |
Hi @krish-gh, Example: Chris Green, chris@contoso.com, myPassword1234, No Removing the whitespace in the template would be good. |
Hi,
I'm trying to create users in bulk by following this documentation.
I logged into Azure Portal with the following account:
I created a csv file with the following details:
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? Could you please help me with this issue?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: