Part 2 - Power Apps Portals: New Application Registration in Azure B2C for our Power Apps Portal

   Words by Paul McQuillan

   on 23/02/2021 16:28:00

See the source image

Now we have an 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 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 with 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


Next Article >> 

Part 3 – Power Apps Portals - User Flow for Signup and Signin

Further Reading…

https://www.crmcs.co.uk/what-we-do/powerapps-portals/

Share this Article

Search Articles

Filter Articles

CRM Tech DocMan

Recent Articles

Release Wave 2 New Feature: The Columns Button HOW TO: Search a date field in Microsoft Dynamics The Relevance Search COMING SOON to Power Apps Portals HOW TO: Manage Your Dynamics 365 Database Size (Video Included) Dynamics 365 Marketing vs ClickDimensions It’s time to pause, reflect and acknowledge a new era of inclusivity and collaboration. Part 2 - How to get the most from a Technology Expert – Asset Management Hub Property & Asset Management Hub Part 1 – Balancing CRM and Asset Management Scopes - Asset Management Hub Creating a Multi-Lingual PowerApps Portal How to Set Up a Microsoft Teams Site Using DocDrive365 Microsoft Teams - Adding a Microsoft Teams URL to a Dynamics Appointment Dynamics 365 Marketing – Customer Voice Survey Not Appearing In Emails? Using SQL Management Studio to connect to the Dynamics DB Calling a Power Platform AI Builder Model via oData How to use DocDrive365 to integrate permissions between Business Units in Dynamics with Sites in SharePoint Getting started with the Power Platform AI Builder. Power Apps Portal Information Hub DocDrive365 Security: Day One - Getting Started with Dynamics to SharePoint Permissions Part 5 - Power Apps Portals: How To Connect Azure B2C With Linked-In Part 4 – Power Apps Portals: Styling Azure B2C for Power Apps Portals The 3 Phases for Using Multi-Select Option Sets in Flow with Microsoft Forms Part 3 – PowerApps Portals: Azure B2C and Power Apps Portals – User Flow for Signup and Signin Part 2 - Power Apps Portals: New Application Registration in Azure B2C for our Power Apps Portal Part 1 – Power Apps Portals: Creating a New Azure AD B2C Tenant
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