Azure Blob Storage operations with Storage Python SDK

This blog describes how to perform the basic operations on blobs using the Python API. We’ll be using Python API provided in Azure SDK to achieve the following functionalities. Create a container Upload a blob into a container Download blobs List the blobs in a container Delete a blob Installing the SDK: My machine is a…

0

How to retrieve Job action settings of Scheduler Job using Powershell

Sometimes, we may have a requirement to retrieve the job action details of your scheduled job in the Scheduler job collections using Powershell.   There are no direct options available in PowerShell to retrieve the job action details. You need to cast the jobAction to appropriate derived class of the Action settings to retrieve the details of…

1

How to reclaim your recently deleted ServiceBus namespace “name” instead 7 days wait time

When you have multiple subscriptions, sometimes you create namespace in some another subscription rather than the one in which you exactly wanted to create. Some of the customers delete the namespace and try to create the namespace in correct subscription by same name, however creating namespace it gives error saying, the namespace name is previously…


How to add missing resource types in azure

Some of you may get this error “Handling the error ‘The subscription ‘xxxxxx’ is not registered for resource types ‘Microsoft.ServiceBus/namespaces’. (Code: MissingRegistrationsForTypes)” when trying to move resource from one subscription to another subscription. This error is expected if our destination subscription is not registered with the required types beforehand. To overcome, it is suggested to first…

0

Troubleshooting: Azure Auto-scale profile does not change

Sometimes customers are faced with situation with Auto Scale, where they try to update or delete the Auto Scale Profile but the previous Profile keeps coming back.   Generally, this occurs due to duplicate profiles getting created for Auto Scaling. So, deleting the duplicate profile should help to mitigate the issue. Here’re steps to delete…


Can we use set-query-parameter policy inside send-request policy? -No

Several times you come across a situation where you should use send-request policy to make use of an external service to perform complex processing functions and return data to the API management service that can be used for further policy processing. The send-request policy looks like this: <send-request mode=”new” response-variable-name=”tokenstate” timeout=”20″ ignore-error=”true”> <set-url>https://microsoft-apiappec990ad4c76641c6aea22f566efc5a4e.azurewebsites.net/introspection</set-url> <set-method>POST</set-method> <set-header…

0

How to protect an API in Azure APIM using Azure Active Directory.

This article is intended to summarize a very common scenario where we would like to authenticate an API using OAuth2.0 authentication using azure AD and Azure API Management. There exist a simple and easy way to do the same. Here’re the steps, We need to make two applications inside Azure Active Directory. In this case…

0

Detect backend api response latency using APIM policy

Recently I had a query from a developer asking is there a way to identify response time by backend API by using Azure API management policy expression. There is no direct policy expression which tracks the response time by backend API. However, we can use few policy expressions in Inbound and outbound to achieve the…

0

Azure Management Certificates and Publishing Setting file with CSP Subscriptions

In this post I will talk about a limitation of Azure CSP Subscriptions that makes users unable to work with Azure Management Certificates and Publishing Setting files.   Azure Management Certificates and Publishing Setting files (which is a file that contains the Management Certificates) are only intended and limited to manage Azure Service Management (ASM)…