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

Community site session details

Session Id :
Power Automate - General Discussion
Unanswered

ERROR when removing the shared SharePoint library in run-only permissions

(0) ShareShare
ReportReport
Posted on by 99
Hi all,
 
I have a flow running that's connected to a SharePoint library. The trigger in the flow is "For a selected file."
When I try to disconnect the SharePoint library in the run-only permissions, I get this error: HTTP request failed with unhandled exception of type 'NullReferenceException' and message: 'Object reference not set to an instance of an object.'
I've already tried setting all connections to "Provided by run-only users," but I still get the same error.
 
Categories:
I have the same question (0)
  • MS.Ragavendar Profile Picture
    4,465 Super User 2025 Season 2 on at
    ERROR when removing the shared SharePoint library in run-only permissions
     
    Open the flow → Details → Run-only users, For each connector (SharePoint, etc.), explicitly set the connection 
    • Use this connection (if you want a service account).
    • Or Provided by run-only user (if you want user context).
    Save changes and save the flow, if you are in the solution based publish solution as well.
     
    Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
    🏷️ Please tag me @MS.Ragavendar if you still have any queries related to the solution or issue persists.
  • RobMolenaar Profile Picture
    99 on at
    ERROR when removing the shared SharePoint library in run-only permissions
    Thanks for your reply, but unfortunately that doesn't help.
    I've set all connections to run-only user and then tried using the service account connection with all connections. In both cases, I still get the same error message.
  • S-Venkadesh Profile Picture
    782 Moderator on at
    ERROR when removing the shared SharePoint library in run-only permissions
    Hi @RobMolenaar,
     
    When you say “I try to disconnect the SharePoint library in the run-only permissions,” what exactly do you mean?

    Could you please explain a bit more or share a screenshot for clarity?
     
    I hope this information helps! If it does, please consider giving a 👍.
     
    Best regards,
    S-Venkadesh
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard