Can I start a virtual machine in azure without the azure portal

0 votes
Is there a way where I can give a user to access the azure VM without the Azure portal? If yes, How can I do this?
Jan 3, 2020 in Azure by anonymous
• 6,260 points
401 views

1 answer to this question.

0 votes

I think the best way is to use the Service principal with the role of Virtual Machine Contributor

It just lets the user manage the VM, but without access to the VM and also do not have the permission to access the Azure portal.

Then you can use this service principal to execute the Azure CLI, Azure PowerShell commands or the REST API to start/stop the Azure VM, it does not cost.

answered Jan 3, 2020 by Sirajul
• 59,070 points

Related Questions In Azure

0 votes
2 answers

How can I download a .vhd image to my local machine from azure and upload the same to a different azure account?

From the Windows Azure Portal you can ...READ MORE

answered Aug 20, 2018 in Azure by Priyaj
• 58,120 points
10,812 views
0 votes
2 answers

Can I Login without prompt in Azure?

You can use -Credential parameter, and DPAPI to login. First, ...READ MORE

answered Aug 17, 2018 in Azure by Priyaj
• 58,120 points
4,120 views
0 votes
1 answer

How can I remove/hide/disable excessive HTTP response headers in Azure/IIS7 without having to use UrlScan?

MSDN published an article on how to ...READ MORE

answered May 21, 2018 in Azure by club_seesharp
• 3,450 points
2,346 views
0 votes
1 answer

How can I replicate an Azure Virtual Machine?

To create a managed image of a ...READ MORE

answered May 23, 2018 in Azure by club_seesharp
• 3,450 points
173 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Disable pop-up notifications on the azure portal.

To disable pop-up notifications, de-select the Enable pop-up notifications checkbox. This ...READ MORE

answered Dec 26, 2019 in Azure by Sirajul
• 59,070 points
364 views
0 votes
1 answer

Can I provision an Azure service without using the portal?

Yes, It is possible to provision the ...READ MORE

answered Dec 27, 2019 in Azure by Sirajul
• 59,070 points
107 views