How to find the Global Admin for your Azure AD tenant

The smooth working of a bot will require a proper configuration on Azure AD. Sometimes users themselves don’t have the permission to modify settings in AAD, only Global Admin will have the right, then the question becomes: how to find my Global Admin ? For now it’s not feasible via Azure Portal, but we can…


Fail to create bot with error ‘Authorization_RequestDenied’

Since last December our team starts to support Azure Bot Framework, so in this blog you’ll start seeing some best practices from our field experience Many of our customers encounter the following error when creating a bot in Azure Bot portal (please check here for bot creation steps): “Authorization_RequestDenied Insufficient privileges to complete the operation….


Issues with managing Bot Registration Properties

I’ve seen quite a few questions recently about issues managing the Bot Registration properties. While working with the Bot Services, you might need to make some changes to the properties, such as generating a new password or adding a Co-owner to the Bot. You can edit the Bot Registration properties by going to the Settings…

0

Logging for ASP.net CORE applications when you receive 502.3 and 500 status codes

As we start to see more and more ASP.net Core applications being used in production, our customers are coming to us with problems that are specific to these types of deployment scenarios. This article will attempt to deal with one such scenario – where the ASP.net Core web-application running behind IIS is sending back 502.3…


ASP.NET HttpContext in async/await patterns using the Task Parallel Library – Part 3

The SynchronizationContext (SC) is a vital component for the ASP.NET request lifecycle and it is strictly coupled to the HttpContext. In the previous posts we saw how running asynchronous operations by using specific TPL patterns might lead to losing the SynchronizationContext and, thus, reference to the HttpContext. Such a behavior can impact applications in several…


ASP.NET HttpContext in async/await patterns using the Task Parallel Library – Part 1

Hopefully brief but yet needed introduction For a long time, when ASP and ASP.NET WebForms were the latest trend, web developers had to rely mainly on synchronous programming. After all, server computing can count on multithreading and it’s free from UI thread freezes. While users don’t normally accept a client application freezing the UI for…


Error “431 Failed to setup secure session” when connecting to a FTP Server with multiple FTP sites

Summary for lazy readers Let’s consider this scenario: We are using FTPs (FTP over SSL) to connect to a FTP site hosted on a Windows Server 2008 or later We have multiple FTP sites using SSL and we are using the virtual hostname feature FTP clients suddenly report connection error: “431 Failed to setup secure…


Putting it all together – CORS tutorial

Hosting the two sites on IIS and understanding the request flow and needed configuration to allow the entire application work correctly is what we will focus on in this article. This far, in this tutorial we have gone through creating the front-end website using Razor Pages and the back-end HTTP web-service using WebAPI, as well…


Building the ASP.net Core WebAPI backend – CORS tutorial

With the front end site complete, we can shift focus to building the WebAPI backend that will be powering the Echo Text service. Just as for the front-end site, In Visual Studio 2017, you can choose to create a new Project, and select the ‘Web’ category. Give the project a name and then select the…