Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
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.

  • eugenevanstaden Profile Picture
    424 on at
    Re: PowerApps Portal Code Reusable?

    @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.


  • Verified answer
    ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: PowerApps Portal Code Reusable?

    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.

     

     

  • Santosh_Svg Profile Picture
    7 on at
    Re: PowerApps Portal Code Reusable?

    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!

  • Santosh_Svg Profile Picture
    7 on at
    Re: PowerApps Portal Code Reusable?

    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?

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: PowerApps Portal Code Reusable?

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

  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: PowerApps Portal Code Reusable?

    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.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35