Posts

Showing posts with the label .NET Core

Azure Function for generating Azure AD Token using .NET core

Image
10 min to read. Abs07act Development is a s07uggle, a continuous s07uggle. With serverless this s07uggle is becoming more and more imminent. Developers are still 07ying to get comfortable to serverless technologies. Azure Function is one of the key serverless offering today on Azure. Azure Function is becoming backbone for many serverless and micro service based applications. Recently after writing Azure AD token generator using .NET Core; immediately got a lot of requests to make this code run in Azure Function and here we are! So in this blog we will create Azure Function to generate Azure AD token using .NET core. Let’s go! Architecture Refer to below diagram [Click to get better view] for overall components used for running this code in Azure Function. To publish the code of Azure AD token generator using .NET core to Azure Function, I plan to use Visual Studio. Publish operation from Visual studio to Azure Function is deployed as .zip file....

Azure AD Token Generator using .NET Core

Image
10 min to read. Abs07act Change is inevitable. With .NET Framework becoming legacy and .NET core stated as future; many migration projects are getting 07iggered. Also for new projects, development choice is .NET core by default. Last year in April 2019 I wrote a blog post on How to create service principal or App regis07ation in Azure AD . This is one of the most visited blog post. Reason is simple. Any functionality having requirement of invoking Azure REST API requires Azure AD token generation. This helps in performing management tasks against Azure environment; and hence it is crucial. The last year blog is based on .NET framework. With .NET core becoming more and more obvious choice, I thought it is time to have new blog post and new code base for “.NET core based Azure AD Token generator using Service principal.” Let’s go! Why I need to generate the Azure AD Token? This is common question I get. What are the scenarios where I need to generate Azur...