In this post we will look at how to read a document stored in Azure Storage, specifically in an Azure File Share, using .NET Core 2.2 and Shared Access Signature (SAS). This article assumes you have an Azure Account and an Azure Storage Account. Create an Azure File Share in your Azure Storage Account, which…
Adventures with Azure AD: Group Overage Claim … To Many Security Groups
In a previous article, Adventures with Azure AD: Group Overage Claim, I talked about how to handle, in an ASP.NET MVC Core application, the group overage claim that is sometimes returned in the claims for an authenticated user. I had a customer contact me saying that the code I provided them was not working as…
Adventures with Azure: Design Globally Resilient Apps with Azure App Service and Cosmos DB
Came across this article from Chris Pietschmann, an oldie but goodie. Check it out at https://buildazure.com/designing-globally-resilient-apps-with-azure-app-service-and-cosmos-db/.
Adventures with Azure Functions: Yes! Informative Error Messages are Here!
99 out of 100 times if your Azure Function is having issues running in Azure it will be because of configuration settings, be they missing or containing empty values – OK, I admit, may be a bit of an exaggeration, but it is often the contributor to the problem. Prior to my discovery today, you…
Adventures with Event Grid: Where Did My Null Properties Go?
The other day I noticed when assigning an object to the Data property of an Event Grid Schema message ✉️, any properties, on that object, that had a null value were going to be ignored. I thought my eyes 👀 were failing me! To test this, I wrote the following in LINQPad. For my Person…
Adventures with Azure AD: Group Overage Claim
I have an ASP.NET Core 2.2 Web App. My app authenticates users with OpenIdConnect against Azure Active Directory. I want to use the Security Groups of the authenticated user for role authorization inside my app. To do this, I needed to setup my App Registration in Azure AD to return the Security Groups as claims….
Adventures with Azure AD: Authorizing based on Security Groups
The repository https://github.com/mattruma/SampleAzureADAuthentication has a couple of a sample ASP.NET MVC Core 2.2 applications demonstrating how to authenticate a user against Azure AD and authorize a user based on Security Groups in Azure AD. The first example uses a custom IAuthorizationFilter to look at the groups in principal claims. The second example uses a custom…
Adventures with Logic Apps: Determine the State of a Logic App
In a previous article, Adventures with Logic Apps: Enabling/Disabling a Logic App from Another Logic App, I created a Logic App that would disable a Logic App and then re-enable it after a specific time frame had elapsed. One of my peers pointed out that the Logic App should NOT disable the Logic App if…
Adventures with Logic Apps: Enabling/Disabling a Logic App from Another Logic App
Recently I was asked to create an HTTP Endpoint that could a user could call to disable a Logic App. At first I thought about doing this as an Azure Function, but thought first I’d try it using a Logic App. Albert Hovingh’s article, Disabling Logic Apps from Other Logic Apps, pointed me in the…
Adventures with Azure AD B2C: Authenticating React
I have a React app that I am trying to wire up to Azure AD B2C. I am using James Randall’s library react-azure-adb2c. Wiring it up was a snap, the document was straight-forward on this. When I ran the application I received an UnsupportAuthorityValidation JavaScript error in the console. This is a tracked issue at…