How to get SharePoint document library ID?

„Take the document library id from the url“ is the most common answer, but 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.

Add a Comment

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