Azure VM, i can't activate "Just-in-time" -> permissions problems

David M 236 Reputation points
2023-11-02T15:42:43.33+00:00

Hello,

When i want activate "Just-in-time" on my Azure VM, i have permission rejectCapture

"You do not have permissions to enable just-in-time access for 'VMCominOptique'. Contact the subscription owner to get permissions."

So, i am the Owner of the subscription.

I tried with a co-admin account who meet the same problem.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,043 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Durkan 12,241 Reputation points MVP
    2023-11-04T09:24:48.24+00:00

    Hi

    can you check that all Prerequisites have been met as per article below:

    https://learn.microsoft.com/en-us/azure/defender-for-cloud/just-in-time-access-usage#prerequisites?wt.mc_id=AZ-MVP-5005255

    Do you have Defender for Servers P2 enabled in the Subscription?

    The "Owner" role doesn't have unlimited access to perform all tasks, but does have the ability to assign roles and permissions to others:

    https://learn.microsoft.com/en-us/azure/role-based-access-control/rbac-and-directory-admin-roles#azure-roles?wt.mc_id=AZ-MVP-5005255

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!
    0 comments No comments

Your answer

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