Microsoft Azure VM Restore Error: Sorry, But We're Having Trouble Signing You In. We Received a Bad Request
Situation
One of the error messages returned by Microsoft Azure:
- Sorry, but we’re having trouble signing you in. We received a bad request
- Sign-in to Azure account with subscriptions.
These errors occur while adding a Microsoft Azure VM account in the Storage Accounts section of the Management Console, after specifying your credentials and choosing Tenant ID and Subscription.
Cause
Usually, the occurrence of this error is connected with a lack of user privileges, which leads to restricted access to your subscriptions/services.
Solution
To use Azure VM restore, you need a Work or School account type. Work or School accounts support two types of users:
- Domain or created users
- Invited users
Invited users are not granted permission to perform Azure VM restore.
Follow these steps to handle this error.
Create User
- Log in to your Azure Portal.
- Select Active Directory.
- Select Custom Domain Names and check which domain you use for VM restore.

- Select Users, then click New User.

- Specify all the required data for a new user, then click Create.

User name is the ID of the user in Azure Active Directory. Note that if you see the password while configuring user data, it means that you are creating a School or Work account in your domain.
- Copy the specified (or automatically generated) password. You will need it later. The initial password must be changed on your first logon.
- Assign the required subscription to this new user.
- In the main Azure portal menu, select Subscriptions.

- In the Subscriptions list, select the one to use for Azure VM.
- Click Access Control (IAM).
- Add the new user to this subscription.

- Select a role with sufficient rights for Azure VM creation.

- Once you have selected the role, select the user that you recently created.
- Log out, then log in using the new user credentials, then change the initial password.
Sign In in Management Console
Once you are done with the Azure Console and the new user, create a new Microsoft Azure VM storage account in the Management Console.
In the Sign In field, specify the credentials for the user that was created in steps 1-13.

Contact Us
- Tech questions
- Sales questions: sales@msp360.com