Azure Management API encompasses all the REST APIs that are used to manage Azure services. It is not the same as Azure API Management which is a specific service on Azure.
Questions tagged [azure-management-api]
224 questions
15
votes
1 answer
Get Role - Azure API returns (400) Bad Request
I have got many for the Azure management APIs to work with the code below except for the GetRole for Virtual Machines. Here is the doc for this api call: https://msdn.microsoft.com/en-us/library/azure/jj157193.aspx
Here is the code that I am trying…

Jeremy
- 364
- 3
- 18
8
votes
2 answers
Azure.Authenticate with interactive user login (Microsoft.Azure.Management.Fluent)
I used to manage Azure resources an old preview version. The authentication worked something like this:
// Authorize
this.AuthenticationResult = this.Authorize();
this.Credentials = new TokenCloudCredentials(config.SubscriptionId,…

Sam7
- 3,382
- 2
- 34
- 57
7
votes
1 answer
How to authenticate Azure Service Management Requests via AAD
I've tried 3 ways with no result:
According to this article https://msdn.microsoft.com/en-us/library/azure/ee460782.aspx I've registered new web application in AAD with permissions to Access Azure Service Management API (steps 1-9) and written the…

Vlad Bilyk
- 327
- 4
- 13
6
votes
1 answer
How to turn on/off Azure virtual machine via Azure management api (rest)
I want to create a start/stop Azure VM bot for myself. What I want to do is to have a slack/telegram bot that listens to messages and starts/stops my VM by commands /start/stop. What REST api command should I use to do that?
What is needed:
Some…

ALEX TRUSHKO
- 65
- 1
- 5
6
votes
1 answer
Azure Management API - 429 Too many requests
I built a web app that does queries to the Azure Rest API and creates resources (WebApp, 2 MySQL Databases, Adds a Hostname, Add an SSL Cert...)
All this queries go…

AAlferez
- 1,480
- 1
- 22
- 48
6
votes
1 answer
Azure Resource Manager Template Language - resourceId(): Unable to evaluate template language function 'resource Id'
How do you correctly call the function resourceId() defined in the Azure Resource Manager Template Language?
Context
/// - Azure
/// - Azure Resource Management
/// https://msdn.microsoft.com/en-us/library/azure/dn578292.aspx
///
/// - Azure…

NoOneSpecial
- 695
- 1
- 6
- 16
5
votes
1 answer
Cannot update Azure Deployment when it is using Reserved IPs
I’m trying to install a diagnostic extension via API into an existing Azure cloud service. Cloud Service has a reserved IP assigned. I’m getting “A reserved IP cannot be added, removed or changed during deployment update or upgrade.” when doing so…

Igorek
- 15,716
- 3
- 54
- 92
4
votes
1 answer
Authenticating Against Azure Magment API SDK with MSAL.NET
Trying to Authenticate against Azure Management API using their SDK. I can get the user authenticated with the MSAL.NET SDK. But when I try to pass the Bearer token for ClientCrendentials I can and AuthorizationFailed Message.
I've enabled…
user9318309
4
votes
1 answer
Authentication token doesn't have enrollment level access
Background
I am making a restful API call to Microsoft's Azure Consumption endpoint as detailed below.
https://learn.microsoft.com/en-gb/rest/api/consumption/reservationrecommendations/list
However I am always presented with the below…

Dan Cundy
- 2,649
- 2
- 38
- 65
4
votes
2 answers
How do I setup ContentType of Azure Blob correctly?
In my Web API I use the following code for creating the blob:
var container = Client.GetContainerReference(DefaultContainer);
var blockBlob = container.GetBlockBlobReference(blobName);
…

Agat
- 4,577
- 2
- 34
- 62
4
votes
1 answer
Not able to get new refresh token from azure AD with grant type refresh_token called with old refresh token
I am using Azure Service management API and OAuth API for generating Access token. But while making the call for grant type "refresh_token", to refresh access token it returns new access token but that response does not has new refresh token. So I…

Amey Khadatkar
- 414
- 3
- 16
4
votes
3 answers
Programmatically getting the list of azure virtual machine sizes
I am new to Azure management libraries for .net. How can we enumerate VM instance sizes available with respect to subscription or in general using Azure Management libraries for .Net or Rest APIs?
Please suggest.

Muhammad Murad Haider
- 1,357
- 2
- 18
- 34
4
votes
1 answer
Add SSL Bindings to Azure Website through C# Azure Managmenet libraries
I'm using Microsoft.WindowsAzure.Management.WebSites 4.4.2-prerelease library to create/modify Azure WebApps. I can create the app, can change settings, can add a custom domain. Next step is to add SSL certificate.
Here is how I do it:
public async…

trailmax
- 34,305
- 22
- 140
- 234
3
votes
1 answer
What is the difference between Microsoft.Azure.Management.Resourcemanager.Fluent and Microsoft.Azure.Management.Fluent nuget packages?
There are 2 nuget packages for Azure resource management:
Microsoft.Azure.Management.Resourcemanager.Fluent
Microsoft.Azure.Management.Fluent
How exactly are these nuget packages differ and when to use which one?

Sai Manoj Kumar Yadlapati
- 330
- 6
- 22
3
votes
1 answer
Manage AzureSearch via (Rest) API
I’m trying to create a tool which should scale the „Replicas“ and „Partitions“ of an Azure Search component.
For that, I read the following article from Microsoft:
https://learn.microsoft.com/en-us/rest/api/
Right now, I am having trouble…

Diogo Fernandes
- 127
- 6