web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / PowerApps Portal Code ...
Power Pages
Answered

PowerApps Portal Code Reusable?

(0) ShareShare
ReportReport
Posted on by 7

Hello Community, We are trying to adopt PowerApps portal for our client to develop a one stop dashboard solution which will integrate with multiple applications and data sources. It would be great to understand if the custom code developed can be used outside the PowerApps framework. Either on an App Service Web App or on prem servers?

Any insight in the matter would be really helpful.

Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @Santosh_Svg ,

    It highly depends on what code you will use while building your custom solution. If you will use some portal specific things (like liquid or portal web API) you will be able to use it only on portal.

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi, it sounds like the solution you were looking for was more a Power BI than Power Apps Portals, have you considered that? 

  • Santosh_Svg Profile Picture
    7 on at

    Hi Oliver, Dashboard intends to connect to multiple custom applications (on-prem, cloud, SAAS, 3rd party apps) with a personalized view across multiple tiles/webparts/zones on a single page.

    This Dashboard will typically help a person to login and get a consolidated view across multiple apps including some analytic visualization.

    While evaluating technology stack options reusablilty of code developed on PowerApps Portal is something we are trying to determine for certain clients not using PowerApps and hence looking at bespoke development on .Net Core. Thoughts?

  • Santosh_Svg Profile Picture
    7 on at

    Thanks OOlashyn. Can you point me to some material where development on PowerApps can be done in a more generic way so that the code be reusable for deploying outside PowerApps framework?

    Thanks for your reply!

  • Verified answer
    ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Santosh_Svg 

     

    You can use power bi embedded / inbuilt powerbi integrration along with powerapps portal to achieve this. You need to add your client as guest in your org AAD and authenticate using B2C or B2B. 

     

    Tip: you can also use powerbi row level security to tailor the report according to your need and apply web roles in PowerApps Portal to provide seamless experience. 

     

    Official url ref: https://docs.microsoft.com/en-us/powerapps/maker/portals/admin/set-up-power-bi-integration

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

     

  • eugenevanstaden Profile Picture
    441 on at

    @Santosh_Svg 

     

    You can create a companion app (web app) that will authenticate the requests from your portal.

    Here is a sample of a Companion app built around using OAUTH grant flow within portal as documented here:
    Use OAuth 2.0 implicit grant flow within your portal - Power Apps | Microsoft Docs

    GitHub - eugenevanstaden/d365-portal-companion-api: Sample API demonstrating how to configure OAuth to authenticate against D365 portal


    I use this feature extensively. Example use cases would be secure authentication to 3rd party services such as online payment, custom document management services etc.


Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 78 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard