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 / Power Automate / Sharepoint List folder...
Power Automate
Suggested Answer

Sharepoint List folder - Connection reference not found

(0) ShareShare
ReportReport
Posted on by 2
 

I’m new to Power Automate. I built a flow with Copilot that:

 

  1. Prompts for a SharePoint source folder

  2. Lets the user select specific files from that folder

  3. Prompts for a destination UNC path and copies files to that network share


  4.  
 

The List folder action fails. I edited it to select the Site Address and the File Identifier (folder path) via the picker and after clicking the Save button getting  an error.

 

Error (from Run history):

 

I confirmed the folder exists and I have access. What am I missing—should I use a folder path vs. file identifier, or is my library name wrong? Any known issues with “List folder” and library names like “Shared Documents”?

 

Error :

 

Message = Object reference not set to an instance of an object.
Error = System.NullReferenceException
Full text = System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Flow.RPA.Desktop.Designer.Application.Compilation.Commands.CompileCommandHandler.GetConnectorTiers(CompilerResult results)
   at Microsoft.Flow.RPA.Desktop.Designer.Application.Compilation.Commands.CompileCommandHandler.Handle(CompileCommand request, CancellationToken cancellationToken)
   at MediatR.Internal.RequestHandlerWrapperImpl`2.<>c__DisplayClass1_0.<Handle>g__Handler|0()
   at MediatR.Pipeline.RequestPostProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next)
   at MediatR.Pipeline.RequestPreProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next)
   at Microsoft.Flow.RPA.Desktop.Designer.Application.DesignerProgram.EventHandlers.CompileOnProgramUpdatedEventHandler.CompileAsync()
   at Microsoft.Flow.RPA.Desktop.Designer.Application.DesignerProgram.EventHandlers.CompileOnProgramUpdatedEventHandler.Handle(ProgramUpdatedEvent e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 
I have the same question (0)
  • Suggested answer
    Tharusha Jayadeera Profile Picture
    80 on at
    Hi ,

    Try adding a new connection reference. It seems the issue is with the connection.


    If this helped solve your issue, please mark it as ✅ Accepted Answer.
    If you found it useful, a 🩷 Like is always appreciated.

    Thanks,
    Tharusha

     
  • SK-23030759-0 Profile Picture
    2 on at
    I have already removed all the connection references via Power automate cloud and created new ..but still getting same error

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard