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 / Disable Sign-In Option...
Power Pages
Unanswered

Disable Sign-In Option for Power BI Report in Power Apps Visual

(2) ShareShare
ReportReport
Posted on by 48

I have a Power BI report in which I integrated Power Apps for CRUD operations. After that, I created a main Power Apps application where I added a Power BI visual and embedded the Power BI report.

For the regular embedded report, I only need to sign in once. After that, whenever I open the app, I no longer see the sign-in prompt.

However, for a specific use case, I needed to create a paginated report, which I also added to the Power Apps visual. But the report did not load properly, so I enabled the "AllowNewAPI" function in Power Apps.

After enabling it, every time I open the app, I get a sign-in prompt. How can I bypass this sign-in requirement?

Categories:
I have the same question (0)
  • Jon Unzueta Profile Picture
    1,827 Super User 2025 Season 2 on at
     

    Thanks for your detailed explanation — you're working with a fairly advanced integration scenario, and the behavior you're seeing is likely tied to how authentication tokens are handled when AllowNewAPI is enabled in Power Apps.

    What's Likely Happening

    When you enable AllowNewAPI, Power Apps uses a newer rendering and API model that may:

    • Bypass or alter the default token caching behavior, especially for embedded Power BI content.
    • Trigger stricter authentication flows, particularly for paginated reports, which use different APIs and may require additional scopes or token refreshes.

    This can result in repeated sign-in prompts, even if the user is already authenticated in the app.


    Potential Solutions

    Here are a few things you can try to bypass or mitigate the sign-in prompt:

    1. Use Azure AD SSO with Proper Scopes

    Ensure your Power Apps and Power BI are both registered in Azure AD and configured to use Single Sign-On (SSO). Also:

    • Confirm that the app registration includes delegated permissions for:
      • Power BI Service
      • Report.Read.All
      • Dataset.Read.All
      • PaginatedReport.Read.All (if available)

    2. Embed Using Service Principal or Embed Token

    If you're embedding the Power BI report using a Power BI visual in Power Apps, consider switching to service principal-based embedding or embed tokens with the correct scopes. This avoids relying on user session cookies.

    3. Avoid AllowNewAPI if Not Strictly Necessary

    If the paginated report can be rendered without AllowNewAPI, try disabling it and see if the sign-in prompt disappears. This is a good test to confirm the root cause.

    4. Use a Custom Connector or Power Automate for Paginated Reports

    Instead of embedding the paginated report directly, you could:

    • Use a Power Automate flow to generate and retrieve the report.
    • Display it in Power Apps using a PDF viewer or download link.

    5. Browser Settings

    Ensure that:

    • Third-party cookies are allowed.
    • You're not using incognito/private mode.
    • The domain hosting Power Apps is trusted in your browser.
     
    🏷️ Tag me if you have any further questions or if the issue persists.
    ✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems.
    ❤️ Give it a Like if you found the approach useful in any way.
  • Asutosh Patel Profile Picture
    48 on at
    Thank you, @Jon Unzueta, for the detailed answer and step-by-step explanation.

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
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard