Get Location and Library for files in SP with Power Automate


When using Office actions in Power Automate with SharePoint, you need source, drive, and file IDs from Graph API, not SharePoint URLs. Use a 'dummy' action to get IDs for one-time configurations or 'Get file properties' for dynamic files. For dynamic locations, use Graph API with REST API v2 to interact with Graph. Extract SharePoint site and drive IDs using API endpoints. The article explains two approaches to obtain IDs for Office actions in Power Automate: one using flow designer and the other utilizing Graph API for dynamic scenarios.


Article 2w

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time