Getting Started with PowerApp Portals & Dataverse Part 3: Permissions and Registration

Published Jan 28 2022 11:28 AM 6,636 Views
Microsoft

Prior parts to the series:

Part 1:  We will look at setting up the PowerApps Environment, creating the database entities, and c...

Part 2:  Creating the Power Apps Portal, creating a new page, setting up the form to capture new rec...

 

Part 3: Permissions and Registration

 

Just a few more customization to bring it all together to see the final results.

 

Topics covered in this post:

  • Adding a “Created by Contact” column to your main table along with a relationship to the Contact table.
  • Configuring the Created by Contact column to automatically populate based on the logged in contact.
  • Update the view to filter on Created by Contact so that users only see records that they created.
  • Walk through registering on your Portal and where that registration record gets created.
  • Assigning Contacts to the Web Role so that they can see the page. 

 

Setting up an auto populated contact field

 

Step 1: Create the Contact column.

Open the table that has a view and form that was created.  Add a new “Contact” column to capture the Portal user that is creating the database entry.  This field is required to limit the records that a portal user has access to view and potentially edit.

  • DataType: Lookup
  • Related table: Contact 
    Note: A relationship will be created between this table and the Contact table.

    DaveUpton_0-1643396988979.png

 

Step 2: Create a metadata entry to auto populate the contact field based on the Portal user

 

Creating a filtered view based on a specific contact requires a contact field to be populated.  To populate that field at the time of record creation, requires a metadata field to be configured.  This is helpful if you want to show the application user just the rows that they created.  Creating a level of privacy within the application.

 

  1. Open Portal Management (This can be found in the Apps List from https://make.powerapps.com)
  2. Open Basic Forms from the left menu under Content section.
  3. Select/Edit the Form that will be used to capture data
  4. Open the Basic Form Metadata tab (if you do not see this tab, it could be under the tab “Related”)
  5. Create a New Basic Form Metadata

    DaveUpton_1-1643396988995.png
    Basic Form: Verify this is correct
    Type: Attribute
    Attribute Logical Name: Choose the new Contact column that was added to the table from the dropdown.

    DaveUpton_2-1643396989016.png

    Scroll down to the section “Set Value on Save

    Check the box to Set Value on Save
    Type: Current Portal User
    Value: --- (leave blank)
    From Attribute: Choose Contact (contacted) from the dropdown.

    DaveUpton_3-1643396989030.png

    Click Save & Close when finished.

    (Note: If you want to edit the metadata record, click the column in front of the metadata record and use the sub menu to edit.)

    DaveUpton_4-1643396989036.png

Step 3: Update the view to filter on Created by Contact so that users only see records that they created.

 

For this step, there are several ways to access the Table Permission that we need to edit.

  1. Portal Management -> Security -> Table Permissions
  2. If editing the Portal
    1. Use the gear from the left menu
    2. Or you can choose the list control, on the portal page, to open the right properties pane and access from within the Permissions section.

 

The below example is using the gear from the edit portal page to open Table Permissions

 

Open/Edit the table permission created from Blog Part 2.

 

Change the following fields:

Access type: Contact access

Relationship: Set this to the relationship that was created when you added the contact column to your table.  You likely only have one option to choose from.

 

You should now see the Related tables populated with the correct tables and relationship.

 

This could have all be done at the time of creating the table permission if you had already added the contact field.   However, sometimes your data model may not be fully set before you start building forms and this step is to demonstrate how you might make these changes later, as you refactor, during development.

DaveUpton_5-1643396989061.png

 

At this point you should have a fully working portal that will allow registered users, that have been assigned to the Custom Web Role, to create new records and to see the records that they have created.  In the next steps we’ll walk through user registration and how an administrator will manually add registered users to the web role.  This process could also be automated with a PowerApp Automation but for the sake of simplicity, I will show this manually. 

 

 

Registering on your Portal

 

A blank portal has a built-in registration process that comes standard, out of the box.   A user has the option to register with a username/password or to use Azure Authentication.  If using Azure Authentication, the user would need to exist in your Azure domain prior to them registering on the portal.  I will demo registration with UN/PWD.

 

Access your new Portal.  This can be done from within editing the portal by clicking the link in the upper right to Browser website, or by clicking on the portal name under Apps. 

 

Click Sign in

Open the Registration Tab and complete the required fields.

 

DaveUpton_6-1643396989081.png

 

 

Once registered you should now see the user record in the Contact table within Dataverse.

 

DaveUpton_7-1643396989092.png

 

 

 

Assigning Web Role Permissions

 

The final step is to grant the user access to the protected Application page in your portal.

 

As with several properties within PowerApps, there are a number of places that this can be accessed. 

- From the contact record in Dataverse, Open the Web Roles tab (may be under Related if not showing up by default)

- From Portal Management -> Security -> Web Roles, open the web role and then the Contacts tab (may be under Related if not showing up by default)

- You can also open the Contacts from within Portal Management under Security. 

 

If using the contact record, you want to Add Existing Web Role as seen below.

 

DaveUpton_8-1643396989107.png

 

 

If using the Web Role from Portal Management, you want to add a contact to the role as seen below.

 

DaveUpton_9-1643396989118.png

 

 



Series Conclusion

 

Although it took 3 Parts to complete the setup, the process really should not take more then 30-60 minutes to complete based on your experience working with the various PowerApp components. Having said that, it could take longer if you spend more time on the database design, forms, list or portal design.

 

At this point you should have a fully working portal with the ability for users to register and admins to manually give them permission. You should also have a better understanding of the various management portals, settings, and proporties that are used to build and secure a Portal App.

Example of the Portal that I was building as I was learning how to develop a Portal App.  

DaveUpton_0-1643398274071.png

 

 

If this was helpful and/or if there are other topics you would like to see covered, please let us know. 

 

Thanks for following along,

Dave Upton

 

%3CLINGO-SUB%20id%3D%22lingo-sub-3082409%22%20slang%3D%22en-US%22%3EGetting%20Started%20with%20PowerApp%20Portals%20%26amp%3B%20Dataverse%20Part%203%3A%20Permissions%20and%20Registration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3082409%22%20slang%3D%22en-US%22%3E%3CP%3EPrior%20parts%20to%20the%20series%3A%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fhealthcare-and-life-sciences%2Fgetting-started-with-powerapp-portals-amp-dataverse-part-1%2Fba-p%2F3068765%22%20target%3D%22_blank%22%3EPart%201%3A%20%26nbsp%3BWe%20will%20look%20at%20setting%20up%20the%20PowerApps%20Environment%2C%20creating%20the%20database%20entities%2C%20and%20creating%20a%20view%20and%20form%20for%20a%20table.%3C%2FA%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fhealthcare-and-life-sciences%2Fgetting-started-with-powerapp-portals-amp-dataverse-part-2%2Fba-p%2F3070802%22%20target%3D%22_blank%22%3EPart%202%3A%20%26nbsp%3BCreating%20the%20Power%20Apps%20Portal%2C%20creating%20a%20new%20page%2C%20setting%20up%20the%20form%20to%20capture%20new%20rec...%3C%2FA%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPart%203%3A%20Permissions%20and%20Registration%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EJust%20a%20few%20more%20customization%20to%20bring%20it%20all%20together%20to%20see%20the%20final%20results.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETopics%20covered%20in%20this%20post%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAdding%20a%20%E2%80%9CCreated%20by%20Contact%E2%80%9D%20column%20to%20your%20main%20table%20along%20with%20a%20relationship%20to%20the%20Contact%20table.%3C%2FLI%3E%0A%3CLI%3EConfiguring%20the%20Created%20by%20Contact%20column%20to%20automatically%20populate%20based%20on%20the%20logged%20in%20contact.%3C%2FLI%3E%0A%3CLI%3EUpdate%20the%20view%20to%20filter%20on%20Created%20by%20Contact%20so%20that%20users%20only%20see%20records%20that%20they%20created.%3C%2FLI%3E%0A%3CLI%3EWalk%20through%20registering%20on%20your%20Portal%20and%20where%20that%20registration%20record%20gets%20created.%3C%2FLI%3E%0A%3CLI%3EAssigning%20Contacts%20to%20the%20Web%20Role%20so%20that%20they%20can%20see%20the%20page.%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESetting%20up%20an%20auto%20populated%20contact%20field%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EStep%201%3A%20Create%20the%20Contact%20column.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EOpen%20the%20table%20that%20has%20a%20view%20and%20form%20that%20was%20created.%26nbsp%3B%20Add%20a%20new%20%E2%80%9CContact%E2%80%9D%20column%20to%20capture%20the%20Portal%20user%20that%20is%20creating%20the%20database%20entry.%20%26nbsp%3BThis%20field%20is%20required%20to%20limit%20the%20records%20that%20a%20portal%20user%20has%20access%20to%20view%20and%20potentially%20edit.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EDataType%3A%20Lookup%3C%2FLI%3E%0A%3CLI%3ERelated%20table%3A%20Contact%26nbsp%3B%20%3CBR%20%2F%3ENote%3A%20A%20relationship%20will%20be%20created%20between%20this%20table%20and%20the%20Contact%20table.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_0-1643396988979.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343415i5EFD998143AB6DDB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22DaveUpton_0-1643396988979.png%22%20alt%3D%22DaveUpton_0-1643396988979.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EStep%202%3A%20Create%20a%20metadata%20entry%20to%20auto%20populate%20the%20contact%20field%20based%20on%20the%20Portal%20user%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECreating%20a%20filtered%20view%20based%20on%20a%20specific%20contact%20requires%20a%20contact%20field%20to%20be%20populated.%26nbsp%3B%20To%20populate%20that%20field%20at%20the%20time%20of%20record%20creation%2C%20requires%20a%20metadata%20field%20to%20be%20configured.%26nbsp%3B%20This%20is%20helpful%20if%20you%20want%20to%20show%20the%20application%20user%20just%20the%20rows%20that%20they%20created.%26nbsp%3B%20Creating%20a%20level%20of%20privacy%20within%20the%20application.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EOpen%20%3CSTRONG%3EPortal%20Managemen%3C%2FSTRONG%3Et%20(This%20can%20be%20found%20in%20the%20Apps%20List%20from%20%3CA%20href%3D%22https%3A%2F%2Fmake.powerapps.com%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmake.powerapps.com%3C%2FA%3E)%3C%2FLI%3E%0A%3CLI%3EOpen%20%3CSTRONG%3EBasic%20Forms%3C%2FSTRONG%3E%20from%20the%20left%20menu%20under%20%3CSTRONG%3EContent%3C%2FSTRONG%3E%20section.%3C%2FLI%3E%0A%3CLI%3ESelect%2FEdit%20the%20Form%20that%20will%20be%20used%20to%20capture%20data%3C%2FLI%3E%0A%3CLI%3EOpen%20the%20%3CSTRONG%3EBasic%20Form%20Metadata%3C%2FSTRONG%3E%20tab%20(if%20you%20do%20not%20see%20this%20tab%2C%20it%20could%20be%20under%20the%20tab%20%E2%80%9CRelated%E2%80%9D)%3C%2FLI%3E%0A%3CLI%3ECreate%20a%20%3CSTRONG%3ENew%3C%2FSTRONG%3E%20%3CSTRONG%3EBasic%20Form%20Metadata%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_1-1643396988995.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343414i843548E0BA182EBA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22DaveUpton_1-1643396988995.png%22%20alt%3D%22DaveUpton_1-1643396988995.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSTRONG%3EBasic%20Form%3A%3C%2FSTRONG%3E%20Verify%20this%20is%20correct%3CBR%20%2F%3E%3CSTRONG%3EType%3C%2FSTRONG%3E%3A%20Attribute%3CBR%20%2F%3E%3CSTRONG%3EAttribute%20Logical%20Name%3C%2FSTRONG%3E%3A%20Choose%20the%20new%20Contact%20column%20that%20was%20added%20to%20the%20table%20from%20the%20dropdown.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_2-1643396989016.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343416i6ED48B2AD76E978C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DaveUpton_2-1643396989016.png%22%20alt%3D%22DaveUpton_2-1643396989016.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EScroll%20down%20to%20the%20section%20%E2%80%9C%3CSTRONG%3ESet%20Value%20on%20Save%3C%2FSTRONG%3E%E2%80%9D%3CBR%20%2F%3E%3CBR%20%2F%3ECheck%20the%20box%20to%20Set%20Value%20on%20Save%3CBR%20%2F%3E%3CSTRONG%3EType%3C%2FSTRONG%3E%3A%20Current%20Portal%20User%3CBR%20%2F%3E%3CSTRONG%3EValue%3C%2FSTRONG%3E%3A%20---%20(leave%20blank)%3CBR%20%2F%3E%3CSTRONG%3EFrom%20Attribute%3C%2FSTRONG%3E%3A%20Choose%20Contact%20(contacted)%20from%20the%20dropdown.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_3-1643396989030.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343418i3658EA0CBA3550FC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DaveUpton_3-1643396989030.png%22%20alt%3D%22DaveUpton_3-1643396989030.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EClick%20Save%20%26amp%3B%20Close%20when%20finished.%3CBR%20%2F%3E%3CBR%20%2F%3E(Note%3A%20If%20you%20want%20to%20edit%20the%20metadata%20record%2C%20click%20the%20column%20in%20front%20of%20the%20metadata%20record%20and%20use%20the%20sub%20menu%20to%20edit.)%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_4-1643396989036.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343417iA7C369E5B9B24898%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DaveUpton_4-1643396989036.png%22%20alt%3D%22DaveUpton_4-1643396989036.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3EStep%203%3A%20Update%20the%20view%20to%20filter%20on%20Created%20by%20Contact%20so%20that%20users%20only%20see%20records%20that%20they%20created.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20this%20step%2C%20there%20are%20several%20ways%20to%20access%20the%20%3CSTRONG%3ETable%20Permission%3C%2FSTRONG%3E%20that%20we%20need%20to%20edit.%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EPortal%20Management%20-%26gt%3B%20Security%20-%26gt%3B%20Table%20Permissions%3C%2FLI%3E%0A%3CLI%3EIf%20editing%20the%20Portal%3COL%3E%0A%3CLI%3EUse%20the%20gear%20from%20the%20left%20menu%3C%2FLI%3E%0A%3CLI%3EOr%20you%20can%20choose%20the%20list%20control%2C%20on%20the%20portal%20page%2C%20to%20open%20the%20right%20properties%20pane%20and%20access%20from%20within%20the%20Permissions%20section.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EThe%20below%20example%20is%20using%20the%20gear%20from%20the%20edit%20portal%20page%20to%20open%20Table%20Permissions%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EOpen%2FEdit%20the%20table%20permission%20created%20from%20Blog%20Part%202.%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EChange%20the%20following%20fields%3A%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%3CSTRONG%3EAccess%20type%3C%2FSTRONG%3E%3A%20Contact%20access%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%3CSTRONG%3ERelationship%3C%2FSTRONG%3E%3A%20Set%20this%20to%20the%20relationship%20that%20was%20created%20when%20you%20added%20the%20contact%20column%20to%20your%20table.%26nbsp%3B%20You%20likely%20only%20have%20one%20option%20to%20choose%20from.%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EYou%20should%20now%20see%20the%20Related%20tables%20populated%20with%20the%20correct%20tables%20and%20relationship.%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EThis%20could%20have%20all%20be%20done%20at%20the%20time%20of%20creating%20the%20table%20permission%20if%20you%20had%20already%20added%20the%20contact%20field.%26nbsp%3B%26nbsp%3B%20However%2C%20sometimes%20your%20data%20model%20may%20not%20be%20fully%20set%20before%20you%20start%20building%20forms%20and%20this%20step%20is%20to%20demonstrate%20how%20you%20might%20make%20these%20changes%20later%2C%20as%20you%20refactor%2C%20during%20development.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_5-1643396989061.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343419i769EE112527FFDFF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DaveUpton_5-1643396989061.png%22%20alt%3D%22DaveUpton_5-1643396989061.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EAt%20this%20point%20you%20should%20have%20a%20fully%20working%20portal%20that%20will%20allow%20registered%20users%2C%20that%20have%20been%20assigned%20to%20the%20Custom%20Web%20Role%2C%20to%20create%20new%20records%20and%20to%20see%20the%20records%20that%20they%20have%20created.%26nbsp%3B%20In%20the%20next%20steps%20we%E2%80%99ll%20walk%20through%20user%20registration%20and%20how%20an%20administrator%20will%20manually%20add%20registered%20users%20to%20the%20web%20role.%26nbsp%3B%20This%20process%20could%20also%20be%20automated%20with%20a%20PowerApp%20Automation%20but%20for%20the%20sake%20of%20simplicity%2C%20I%20will%20show%20this%20manually.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ERegistering%20on%20your%20Portal%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EA%20blank%20portal%20has%20a%20built-in%20registration%20process%20that%20comes%20standard%2C%20out%20of%20the%20box.%26nbsp%3B%26nbsp%3B%20A%20user%20has%20the%20option%20to%20register%20with%20a%20username%2Fpassword%20or%20to%20use%20Azure%20Authentication.%26nbsp%3B%20If%20using%20Azure%20Authentication%2C%20the%20user%20would%20need%20to%20exist%20in%20your%20Azure%20domain%20prior%20to%20them%20registering%20on%20the%20portal.%26nbsp%3B%20I%20will%20demo%20registration%20with%20UN%2FPWD.%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EAccess%20your%20new%20Portal.%26nbsp%3B%20This%20can%20be%20done%20from%20within%20editing%20the%20portal%20by%20clicking%20the%20link%20in%20the%20upper%20right%20to%20Browser%20website%2C%20or%20by%20clicking%20on%20the%20portal%20name%20under%20Apps.%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EClick%20%3CSTRONG%3ESign%20in%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EOpen%20the%20%3CSTRONG%3ERegistration%3C%2FSTRONG%3E%20Tab%20and%20complete%20the%20required%20fields.%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_6-1643396989081.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343420iB0F0E02498F861F9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DaveUpton_6-1643396989081.png%22%20alt%3D%22DaveUpton_6-1643396989081.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EOnce%20registered%20you%20should%20now%20see%20the%20user%20record%20in%20the%20Contact%20table%20within%20Dataverse.%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_7-1643396989092.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343422iC52E792EF0DAE901%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DaveUpton_7-1643396989092.png%22%20alt%3D%22DaveUpton_7-1643396989092.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAssigning%20Web%20Role%20Permissions%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20final%20step%20is%20to%20grant%20the%20user%20access%20to%20the%20protected%20Application%20page%20in%20your%20portal.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EAs%20with%20several%20properties%20within%20PowerApps%2C%20there%20are%20a%20number%20of%20places%20that%20this%20can%20be%20accessed.%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2060px%3B%20%22%3E-%20From%20the%20contact%20record%20in%20Dataverse%2C%20Open%20the%20Web%20Roles%20tab%20(may%20be%20under%20Related%20if%20not%20showing%20up%20by%20default)%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2060px%3B%20%22%3E-%20From%20Portal%20Management%20-%26gt%3B%20Security%20-%26gt%3B%20Web%20Roles%2C%20open%20the%20web%20role%20and%20then%20the%20Contacts%20tab%20(may%20be%20under%20Related%20if%20not%20showing%20up%20by%20default)%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2090px%3B%20%22%3E-%20You%20can%20also%20open%20the%20Contacts%20from%20within%20Portal%20Management%20under%20Security.%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EIf%20using%20the%20contact%20record%2C%20you%20want%20to%20Add%20Existing%20Web%20Role%20as%20seen%20below.%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_8-1643396989107.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343421iB1E88A6C6C80B753%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DaveUpton_8-1643396989107.png%22%20alt%3D%22DaveUpton_8-1643396989107.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3EIf%20using%20the%20Web%20Role%20from%20Portal%20Management%2C%20you%20want%20to%20add%20a%20contact%20to%20the%20role%20as%20seen%20below.%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_9-1643396989118.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343423i384F31D0107435D7%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DaveUpton_9-1643396989118.png%22%20alt%3D%22DaveUpton_9-1643396989118.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESeries%20Conclusion%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAlthough%20it%20took%203%20Parts%20to%20complete%20the%20setup%2C%20the%20process%20really%20should%20not%20take%20more%20then%2030-60%20minutes%20to%20complete%20based%20on%20your%20experience%20working%20with%20the%20various%20PowerApp%20components.%20Having%20said%20that%2C%20it%20could%20take%20longer%20if%20you%20spend%20more%20time%20on%20the%26nbsp%3Bdatabase%20design%2C%20forms%2C%20list%20or%20portal%20design.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAt%20this%20point%20you%20should%20have%20a%20fully%20working%20portal%20with%20the%20ability%20for%20users%20to%20register%20and%20admins%20to%20manually%20give%20them%20permission.%20You%20should%20also%20have%20a%20better%20understanding%20of%20the%20various%20management%20portals%2C%20settings%2C%20and%20proporties%20that%20are%20used%20to%20build%20and%20secure%20a%20Portal%20App.%3CBR%20%2F%3E%3CBR%20%2F%3EExample%20of%20the%20Portal%20that%20I%20was%20building%20as%20I%20was%20learning%20how%20to%20develop%20a%20Portal%20App.%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DaveUpton_0-1643398274071.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343429i8494C5B9A79D8873%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DaveUpton_0-1643398274071.png%22%20alt%3D%22DaveUpton_0-1643398274071.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20this%20was%20helpful%20and%2For%20if%20there%20are%20other%20topics%20you%20would%20like%20to%20see%20covered%2C%20please%20let%20us%20know.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20following%20along%2C%3C%2FP%3E%0A%3CP%3EDave%20Upton%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-3082409%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PowerPlatform%20Portals.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F342064i2F9386C11F7E2B4D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22PowerPlatform%20Portals.png%22%20alt%3D%22PowerPlatform%20Portals.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20text-align%20%3A%20left%3B%20%22%3E%26nbsp%3BFor%20this%20series%20we%20will%20walk%20through%20the%20creation%20of%20a%20PowerApp%20Portal%20that%20uses%20Dataverse%20for%20data%20storage.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3082409%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHLS_Hack%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Jan 28 2022 11:45 AM
Updated by: