New Application Registration in Azure B2C for our Power Apps Portal

   Words by Paul McQuillan

   on 05/01/2021 10:00:00

Now we have a Azure B2C Tenant created – we need to add a new Application Registration into the Directory, this will act as the go between component from the Portal into the Azure B2C.

We do this within the Azure Portal, making sure we have Switched Tenants into our Azure B2C Tenant and then navigate into App Registrations.

This may be blank if we are using a new Azure B2C Tenant, but not to worry, we are going to add our first App into the Directory and specify the right details to link up with our Portal.

New Registration will open a screen where we can supply the Name and Redirect URL of our new App Registration.

image

The Redirect URL will be the URL of our Portal, but with a forward slash and then the name we have configured for Azure B2C Authentication, if we are using default settings then this will be /signin-b2c

https://mygreatbigportal.powerappsportals.com/signin-b2c

This App Registration is the connecting glue between the Directory and the Portal.

Access Tokens for Implicit Flow

Power Apps Portals uses an Access Token for authentication to allow an implicit flow from the Portal Login into Azure B2C – and this needs to be configured in our App Registration – this is done in the Authentication area of the App Registration, and then by ticking the ‘Access Tokens (used for implicit flows)'’ setting.

image

  

Application Client ID

Each Application we register will come with an auto-generated Client ID as the unique identifier for the App – we should note this down within Azure as we will need to configure this between the Site Settings of our Portal and Azure B2C:

  • Application (client) ID

image

This corresponds to the following setting in the Site Settings of our Portal Apps Portal configuration:

image

With this Site Setting configured between Portal Management and Azure B2C, this will inform how the Portal communicates to Azure B2C.

Now our Application Registration set, we then need to define the appearance and logic for how the flow of the User Authentication will work – we do this via User Flows in our Azure B2C Tenant.

Share this Article

Search Articles

Filter Articles

CRM Tech DocMan

Recent Articles

Dynamics for Sales: Use Word Templates to Export directly to PDF Newly Generated Documents in Dynamics or Power Apps do not save into SharePoint Synchronising Dynamics / Power Apps Security with SharePoint Adding the DocDrive Bot to each new Microsoft Team Microsoft Team for each Key Account using Conditional Rules in DocDrive365 Styling Azure B2C for Power Apps Portals Azure B2C–the Subscription is not Registered Azure B2C and Power Apps Portals – User Flow for Signup and Signin Creating a New Azure AD B2C Tenant New Application Registration in Azure B2C for our Power Apps Portal Using Power Automate to Integrate Microsoft Forms with Dynamics 365 CRMCS Quick Start Guide: How To Produce a Microsoft Teams Live Event Dynamics 365 Marketing: Lead Scoring and Sales Acceptance Designing and Developing Microsoft Power Apps Portals Thank You for Attending CRMCS’ Webinar - Achieving B2B sales excellence with Dynamics 365 & Microsoft Teams Thank You for Attending Our Webinar - Achieving B2B sales excellence with Dynamics 365 & Microsoft Teams Webinar: Discover How CRMCS Have United Dynamics 365, SharePoint and Microsoft Teams To Create Sales Excellence Ignite your workflow by adding DocDrive365 to Office 365 The CRMCS guide to everything you need to know about integrating Teams with Dynamics 365 Saving Time By Keeping Documents In One Place TDE Database Encryption with On Premise Dynamics The Key to Successful Compliance in 2020 Part 2: Let’s get GDPR Compliant with Microsoft Power Automate
Contact Us

Want expert advice or a demo?

Get in touch now and see how we can help your business grow.

  • Name
  • Email Address
  • Phone Number
 
Close

Understanding Your Challenges

Our strong understanding of CRM and emerging technologies within the Microsoft environment means we deliver the right solutions for you.

Proven Real-World Solutions

As a leader in the field of Dynamics solutions, our pedigree developing and delivering real-world solutions is unsurpassed.

Long Term Support

We provide support beyond our design, implementation and 'go-live' delivery using Sprints and continual updates to our AppSource apps.

CRMCS | Design by Thinktank Marketing | Citrus-Lime Limited

To improve your experience today and in the future, this site uses cookies. Read our full Privacy Policy & Cookie information here I Understand