Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Planner
    • Outlook
    • SharePoint
    • Teams
  • Triggers
  • Resources
  • ABOUT ME
  • Get help with your flow
Menu

How to get SharePoint document library ID?

Posted on May 27, 2020January 23, 2022 by Tom

“Take the SharePoint document library id from the url“ is the most common answer, but from where exactly and how?”


Go to Library settings and copy/paste the url from browser into a text file. It is in the url behind the List= starting with %7B and ending with %7D, here’s an example:

https://<my>.sharepoint.com/sites/<my_site>/_layouts/15/listedit.aspx?List=%7B1ff350c6-80b7-4454-bfa7-5cb662665c64%7D

Remove the %7B (ASCII code for character { )and %7D (ASCII code for character } ) and you get the library ID, in the example above the library ID is:

1ff350c6-80b7-4454-bfa7-5cb662665c64

Do you struggle with the various expressions, conditions, filters, or HTTP requests available in Power Automate?

I send one email per week with a summary of the new solutions, designed to help even non IT people to automate some of their repetitive tasks.

All subscribers have also access to resources like a SharePoint Filter Query cheat sheet or Date expressions cheat sheet.

Zero spam, unsubscribe anytime.

3 thoughts on “How to get SharePoint document library ID?”

  1. Mridul says:
    June 6, 2022 at 1:09 pm

    Hey Tom,
    I am getting the below error:
    Error – “The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold enforced by the administrator – even with view that has 2 columns”
    Please help me with a solution.. I have been trying this from a long but getting same error every time

    Reply
  2. Julie says:
    July 29, 2022 at 7:20 pm

    I don’t have the %7B in my URL…???

    Reply
    1. Tom says:
      August 3, 2022 at 5:14 pm

      Hello Julie,
      it must be there when you go to the library settings. Some browsers might not display it right away but if you click in the address bar it should be there.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Do you know what to do, but not how to do it?

Get The Ultimate Power Automate expressions cheat sheet and translate your thoughts into flows with ease!


There's also the HTTP requests to SharePoint cheat sheet to help you overcome limitations of some standard actions!

Do you struggle with the various expressions, conditions, filters, or HTTP requests available in Power Automate?

I send one email per week with a summary of the new solutions, designed to help even non IT people to automate some of their repetitive tasks.

All subscribers have also access to resources like a SharePoint Filter Query cheat sheet or Date expressions cheat sheet.

Zero spam, unsubscribe anytime.

  • How to find Excel rows missing in SharePoint list (Power Automate)March 29, 2023
  • Check whether user exists in AAD with Power AutomateMarch 26, 2023
  • How to highlight whole SharePoint row based on calculated dateMarch 22, 2023
  • Why is your Power Automate flow running so slow?March 19, 2023
  • How to add multiple links to the Power Automate approval taskMarch 15, 2023

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2023 Let's POWER Automate | Theme by SuperbThemes