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 / Power Automate – Share...
Power Automate
Suggested Answer

Power Automate – SharePoint folders not visible in Dynamics 365 Files tab

(1) ShareShare
ReportReport
Posted on by 2
Hello Community,
I’m having an issue where folders created in SharePoint via a Power Automate flow do not appear in the Files tab of the related Dynamics 365 record.
Requirements
When an Opportunity is created in Dynamics 365:
  • A large predefined folder structure (100–150 folders and subfolders) should be created in SharePoint
  • The folders must be visible in the Files tab of the same Opportunity record
  • The Opportunity folder name must be built from two custom fields on the Opportunity (not the Opportunity GUID)
  • The folder structure should follow this pattern:
Folder 1 (pre-made)
└─ Folder 2 (pre-made)
   └─ Opportunity Folder (custom-named, NOT the auto-created Dynamics folder)
      └─ Folder 1 / 2 / 3 / 4 / 5
         └─ Subfolders
Issue
I can achieve either:
  • Folder visibility in the Dynamics Files tab
    or
  • Custom folder naming and structure
…but not both at the same time.
Folders only appear in the Files tab when they are created under the Dynamics-generated entity folder, which is not the intended structure.
Current Setup
  • Power Automate flow triggers on Document Location creation
  • Flow checks the Regarding (Opportunity) value
  • Folders are created using Create new folder actions with a Relative URL
(Screenshots of the flow attached.)
 



 
What I’m Trying to Achieve
  • Use two custom Opportunity fields to dynamically name the Opportunity folder
  • Create the folder structure outside of the default Dynamics entity folder
  • Still have the folders visible in the Files tab of the Opportunity record
Question
Is it possible to:
  • Register a custom SharePoint folder path with Dynamics (via Document Locations or another approach),
    or
  • Override the default entity folder behavior while retaining Files tab visibility?
Any guidance or recommended patterns would be greatly appreciated.
 
Categories:
I have the same question (0)
  • Suggested answer
    wolenberg_ Profile Picture
    1,476 Super User 2026 Season 1 on at
    Hello @DC-02021751-0 , 
     
    The reason your custom SharePoint folders aren’t showing in the Dynamics 365 Files tab is that Dynamics only recognizes folders linked through a Document Location record tied to the entity. If you create folders outside of the auto‑generated entity folder, they won’t appear unless you register that path with Dynamics.
     
    You can’t override the default entity folder behavior directly, but you can register your own custom folder path with Dynamics using a Document Location. Once you do that, your custom‑named Opportunity folder and its subfolders will appear in the Files tab just like the default ones.
     
     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 840

#2
Valantis Profile Picture

Valantis 661

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard