Trying to give someone permission to a Virtual Machine but they can't see it

Luke Chung 41 Reputation points MVP
2026-07-03T02:09:18.3633333+00:00

My person can log into the Azure Portal but when they click on Virtual Machines, they get this error:An error occured when trying to fetch resources. Additional details from the underlying API that might be helpful: Please provide below info when asking for support: timestamp = 2026-07-02T18:39:10.4479151Z, correlationId = d545e416-a917-44f8-8608-2c6ddee6086d. (Code: AccessDenied) Access is denied to the requested resource. The user might not have enough permission. (Code: AccessDenied) Try refreshing the page. Your resources aren't affected by the issue, we're just having trouble showing this view right now. To see a list of resources, select Simplified View.

Azure Role-based access control
Azure Role-based access control

An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.

0 comments No comments

Answer accepted by question author
TP 163.5K Reputation points Volunteer Moderator
2026-07-03T03:49:48.56+00:00

Hi,

What roles did you assign to the person's user account and at what scope? For example, did you assign the user Contributor role to the resource group that contains the VM?

You can do this by navigating to the resource group in the portal, on left click Access control (IAM), Add -- Add role assignment, click Privileged administrator roles tab, select Contributor, click Next, click Select members, search for and select the user's account, Next, Review + assign.

After assigning role please have the user sign out of the portal and back in and then test.

Thanks.

-TP

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.