Securing Azure AD B2C API Connector (Function App) without Error

Securing Azure AD B2C API Connector (Function App) without Error

This article is contributed. See the original author and article here.

I was recently working with a customer who is using Azure AD B2C API Connector to enrich tokens with claims from external sources. They are using Azure Function App as the external source. As this setup demands, they exposed Azure Function App over public IP to work with B2C. But due to enterprise security restriction policy they must remove public endpoint from Function App and use private endpoints to VNET.


 


They thought of 2 options to expose the Function App securely over internet – using Azure API Management instance to a virtual network – external mode APIM in external mode or using Azure Application Gateway. But in both the cases B2C auth process errors out after adding the API Connector in the user flow:


 


Picture1.png


 


2.png


 


Initially I investigated on the error messages collected at the B2C, and APIM or Azure Application Gateway end. But later realized the main source of problem lies somewhere else. It is the ASP.NET Core framework used in building the Function App.


 


We need to modify default FowardedHeaders middleware settings. Otherwise, it will ignore the X-Forwarded headers being sent by APIM or Application Gateway because it isn’t in the list of KnownProxies and KnownNetworks. Please see the following links to understand the concept better:


 



 


So, I did the following changes:


 


1. Added ASPNETCORE_FORWARDEDHEADERS_ENABLED application setting to my Function App Configuration:


 


Picture2.png


 


2. Added a Startup.cs file in my function app code.


 


using System.Collections.Generic;


using Microsoft.AspNetCore.Builder;


using Microsoft.Azure.Functions.Extensions.DependencyInjection;


using Microsoft.Extensions.DependencyInjection;


 


[assembly: FunctionsStartup(typeof(TestAPIFunctionApp.Startup))]


namespace TestAPIFunctionApp


{


    public class Startup : FunctionsStartup


    {


        public override void Configure(IFunctionsHostBuilder builder)


        {


            builder.Services.Configure(options =>


            {


                options.ForwardedHeaders = Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders.XForwardedFor | Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders.XForwardedProto | Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders.XForwardedHost;


                options.KnownNetworks.Clear();


                options.KnownProxies.Clear();


                // Put your front door, application gateway, APIM, b2clogin FQDN here and any other hosts that will send headers you want respected


                options.AllowedHosts = new List() { “.azurewebsites.net”, “.b2clogin.com”, “.azure-api.net”};


            });


        }


    }


}


 


That solves our problem. We can now see the “augmented claims”:


 


Picture3.png

New pricing for Microsoft Dynamics 365 effective October 2024

New pricing for Microsoft Dynamics 365 effective October 2024

This article is contributed. See the original author and article here.

Today, we’re announcing the first pricing update for Microsoft Dynamics 365 in more than five years. Since our last pricing update, Dynamics 365 has transformed customer relationship management (CRM) and enterprise resource planning (ERP) processes with connected applications across lines of business—from marketing, sales, customer and field service, to finance, operations, and supply chain—and each year, we release hundreds of new features and enhancements designed to help people work smarter, reclaim time, and collaborate seamlessly. You can read the official Dynamics 365 blog post here.

Below is the list of products for which prices are being updated with effect from October 1, 20241:

Product  Price before October 1, 2024  Price as of October 1, 20242 
Microsoft Dynamics 365 Sales Enterprise  $95  $105 
Microsoft Dynamics 365 Sales Device  $145  $160 
Microsoft Dynamics 365 Sales Premium  $135  $150 
Microsoft Microsoft Relationship Sales3  $162  $177 
Microsoft Dynamics 365 Customer Service Enterprise  $95  $105 
Microsoft Dynamics 365 Customer Service Device  $145  $160 
Microsoft Dynamics 365 Field Service  $95  $105 
Microsoft Dynamics 365 Field Service Device  $145  $160 
Microsoft Dynamics 365 Finance  $180  $210 
Microsoft Dynamics 365 Supply Chain Management  $180  $210 
Microsoft Dynamics 365 Commerce  $180  $210 
Microsoft Dynamics 365 Human Resources  $120  $135 
Microsoft Dynamics 365 Project Operations  $120  $135 
Microsoft Dynamics 365 Operations – Device  $75  $85 

Prices for Dynamics 365 on-premises customer engagement and operations products will increase by the same percentage as the respective cloud versions. Pricing for cloud products not listed above, such as Microsoft Dynamics 365 Business Central, will remain unchanged.

These increases will apply globally to new and existing customers (upon renewal as of October 1, 2024), and the products will be priced comparably in other currencies. To comply with local regulations, US government list prices for the same products will increase by 10% effective October 1, 2024, followed by another smaller increase effective October 1, 2025, to bring parity with commercial pricing outlined above.

Be sure to explore the release plans for Dynamics 365 to see the many capabilities recently released, and the Dynamics 365 release planner to check out those that are planned for release in upcoming months.


Notes:

1 All prices are per user per month (or per device per month where noted). 
2 Prices shown are for informational purposes only and may not be reflective of actual list price due to currency, country, region, and variant factors. Contact a Microsoft sales representative for additional information on pricing. 
3 Pricing per user per month will increase by $15 in all tiers in Microsoft Relationship Sales. Only 10-99 user tier shown for simplicity. 

The post New pricing for Microsoft Dynamics 365 effective October 2024 appeared first on Microsoft Dynamics 365 Blog.

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.

New pricing for Microsoft Dynamics 365 effective October 2024

New pricing for Microsoft Dynamics 365 effective October 2024

This article is contributed. See the original author and article here.

Today, we’re announcing the first pricing update for Microsoft Dynamics 365 in more than five years. Since our last pricing update, Dynamics 365 has transformed customer relationship management (CRM) and enterprise resource planning (ERP) processes with connected applications across lines of business—from marketing, sales, customer and field service, to finance, operations, and supply chain—and each year, we release hundreds of new features and enhancements designed to help people work smarter, reclaim time, and collaborate seamlessly.   

While a lot has changed in the world in the last five years, our vision has stayed true: ensuring the Dynamics 365 experience helps organizations adapt to change and proactively transform their business. We have delivered on this through innovations that have helped organizations supercharge customer experiences with AI-powered, real-time customer insights for marketers, sellers, and service agents; as well as by optimizing operations and mission-critical processes with data insights, supply chain visibility, and end-to-end automation of financial processes. And today, we are seeing organizations of all sizes across industries benefit from Microsoft Copilot in Dynamics 365.

As we look ahead, our commitment to our customers is to continue to offer the most value and highest return on your investment in business applications, helping to fuel digital transformation.

The price changes will be effective October 1, 2024, and the products will be priced comparably across different currencies. The full list of Dynamics 365 products for which prices are being updated can be found here. Cloud pricing for Microsoft Dynamics 365 Business Central will remain unchanged.

Be sure to explore the release plans for Dynamics 365 to see the many capabilities recently released, and the Dynamics 365 release planner to check out those that are planned for release in upcoming months.

The post New pricing for Microsoft Dynamics 365 effective October 2024 appeared first on Microsoft Dynamics 365 Blog.

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.

New pricing for Microsoft Dynamics 365 effective October 2024

New pricing for Microsoft Dynamics 365 effective October 2024

This article is contributed. See the original author and article here.

Today, we’re announcing the first pricing update for Microsoft Dynamics 365 in more than five years. Since our last pricing update, Dynamics 365 has transformed customer relationship management (CRM) and enterprise resource planning (ERP) processes with connected applications across lines of business—from marketing, sales, customer and field service, to finance, operations, and supply chain—and each year, we release hundreds of new features and enhancements designed to help people work smarter, reclaim time, and collaborate seamlessly. You can read the official Dynamics 365 blog post here.

Below is the list of products for which prices are being updated with effect from October 1, 20241:

Product  Price before October 1, 2024  Price as of October 1, 20242 
Microsoft Dynamics 365 Sales Enterprise  $95  $105 
Microsoft Dynamics 365 Sales Device  $145  $160 
Microsoft Dynamics 365 Sales Premium  $135  $150 
Microsoft Microsoft Relationship Sales3  $162  $177 
Microsoft Dynamics 365 Customer Service Enterprise  $95  $105 
Microsoft Dynamics 365 Customer Service Device  $145  $160 
Microsoft Dynamics 365 Field Service  $95  $105 
Microsoft Dynamics 365 Field Service Device  $145  $160 
Microsoft Dynamics 365 Finance  $180  $210 
Microsoft Dynamics 365 Supply Chain Management  $180  $210 
Microsoft Dynamics 365 Commerce  $180  $210 
Microsoft Dynamics 365 Human Resources  $120  $135 
Microsoft Dynamics 365 Project Operations  $120  $135 
Microsoft Dynamics 365 Operations – Device  $75  $85 

Prices for Dynamics 365 on-premises customer engagement and operations products will increase by the same percentage as the respective cloud versions. Pricing for cloud products not listed above, such as Microsoft Dynamics 365 Business Central, will remain unchanged.

These increases will apply globally to new and existing customers (upon renewal as of October 1, 2024), and the products will be priced comparably in other currencies. To comply with local regulations, US government list prices for the same products will increase by 10% effective October 1, 2024, followed by another smaller increase effective October 1, 2025, to bring parity with commercial pricing outlined above.

Be sure to explore the release plans for Dynamics 365 to see the many capabilities recently released, and the Dynamics 365 release planner to check out those that are planned for release in upcoming months.


Notes:

1 All prices are per user per month (or per device per month where noted). 
2 Prices shown are for informational purposes only and may not be reflective of actual list price due to currency, country, region, and variant factors. Contact a Microsoft sales representative for additional information on pricing. 
3 Pricing per user per month will increase by $15 in all tiers in Microsoft Relationship Sales. Only 10-99 user tier shown for simplicity. 

The post New pricing for Microsoft Dynamics 365 effective October 2024 appeared first on Microsoft Dynamics 365 Blog.

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.

Enabling your AI transformation journey with Microsoft Viva 

Enabling your AI transformation journey with Microsoft Viva 

This article is contributed. See the original author and article here.

One of the biggest takeaways is that AI reinvention is a whole new way of working that involves both software and culture. It’s a cultural shift. Microsoft Viva empowers leaders and organizations to make that shift. We’re excited to announce new capabilities to help drive enterprise-wide adoption of Copilot, including the general availability of Microsoft Copilot Dashboard and Microsoft Copilot Academy, powered by Viva, which will be available to all Copilot for Microsoft 365 customers.

The post Enabling your AI transformation journey with Microsoft Viva  appeared first on Microsoft 365 Blog.

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.