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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Critical Issue with Co...
Copilot Studio
Unanswered

Critical Issue with Copilot Studio: iframe Removed, Bot Cannot Be Published Without Authentication

(2) ShareShare
ReportReport
Posted on by 49

Hello,

We have developed a virtual assistant using Copilot Studio (formerly Power Virtual Agents), which suddenly stopped working on July 9th. It seems likely that a Microsoft update is involved.

Here are the details of our situation—I hope you can help!

 

🔧 Symptoms
The bot developed with Copilot Studio has not been functioning properly since July 9, 2025.
Instead of the welcome message, an error message appears: "javascripterror".
The iframe embedding option (classic Web channel) has disappeared.
The new "Web App" channel provides a link that cannot be directly embedded on a public website.

 

🔐 Workaround Attempt
We tried configuring the bot with "No authentication" to make it publicly accessible.
However, publishing fails because all the bot’s topics use Power Automate flows with user connections (C2).
These connections require Azure AD authentication, which is incompatible with a public bot without authentication.

 

Do you know why we are facing this issue?
Is there a way to bypass these new rules and get our bot back online?

Thank you in advance for any help you can provide.

 

Amélie

Categories:
I have the same question (3)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    Just in case you didn't see this,
     
    In this case, I would suspect that you should be using a Service Principal so you can still access the back end stuff, while not requiring context (authentication) from your users. At least this is how I have and would set it up.
     
    I believe that is what you need to do.
     
    That document explains how to do that in that scenario.
     
    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.
     
    Thank you!
    Sincerely, Michael Gernaey
  • AmelieS Profile Picture
    49 on at
    Hello!

    Thank you very much @Michael E. Gernaey for your feedback and these details.
    I’ll try to follow the recommendation to use a Service Principal. I’ll keep you updated on the outcome
    Thanks again
     
    Amélie
     
  • AmelieS Profile Picture
    49 on at
     
    Thanks a lot for your suggestion and for sharing the documentation link.
    I initially followed the approach you recommended — setting up a Service Principal via Azure App Registration, granting Microsoft Graph permissions, and creating an application user in Power Platform. The goal was to allow my Copilot Studio bot to execute Power Automate flows without requiring user authentication.
    However, after extensive testing, I’ve found that this setup does not currently work for scenarios involving Excel, Outlook, and SharePoint connectors in Power Automate. Specifically:
    • The Excel Online (Business) connector in Power Automate does not support Service Principal authentication. It requires a user-based connection, and there’s no option to use an app identity.
    • Even though Microsoft Graph technically supports Service Principal access to Excel files, Power Automate does not expose this capability through its standard connectors.
    • As a result, publishing the bot without user authentication fails if the flows rely on these connectors, regardless of the Service Principal setup.
    So unfortunately, while the theory is sound and the documentation suggests it should work, in practice, Power Automate connectors are not yet compatible with Service Principal authentication for these services.
    Given this limitation, I’m now considering using a dedicated Azure AD user account instead of my personal account, to isolate the bot’s connections and maintain compatibility with Power Automate.
    Do you know if this approach — using a dedicated user account — would allow me to publish the bot publicly without requiring authentication from end users, even if the flows use user-based connections? Or do you have any other suggestions ?
    Thanks again for your help and insights!
    Best regards,
    Amélie
  • Charbel MATTAR Profile Picture
    4 on at
    Hello @AmelieS
     
    Have you found a solution to this problem? I need to perform the same implementation, but I am stuck at the same stage.

    Best regards,
    Charbel MATTAR

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 580

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard