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 / HTTP Request Set Docum...
Power Automate
Answered

HTTP Request Set Document Library Internal Name

(0) ShareShare
ReportReport
Posted on by 64

Hello

 

Is there any way to set the Internal Name of a document library on creation in a Send an HTTP Request action?

 

i.e. The display name of the Library is 'Project Inbound Documents' but in the URL, instead of:

 

https://[site]/sites/123456/Project%20Inbound%20Documents/Forms/AllItems.aspx

 

You get:

 

https://[site]/sites/123456/A1/Forms/AllItems.aspx

 

NB: I did a GET request on a site where we have this Display Name/Internal Name difference, and can see the field containing the internal name is "EntityTypeName", but if I used it in a POST request it wouldn't do anything.

 

My current HTTP Request action:

 

Socrates_0-1666192290115.png

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,869 Most Valuable Professional on at

    Hi @Socrates,

     

    I believe you can use the MoveTo method to move the rootfolder of the library to a new path/address. This is described in this blog but it is also used in the Set-PnPList PowerShell cmdlet:

    https://www.sptrenches.com/2015/01/change-url-of-existing-sharepoint.html

    https://github.com/pnp/powershell/blob/dev/src/Commands/Lists/SetList.cs#L102

     

    I have tried this in a Power Automate cloud flow with three Send an HTTP request actions. This seems to work as well, but test this properly first 😁

     

    projectinbounddocuments_changepath.png

  • Socrates Profile Picture
    64 on at

    Worked like a charm! Thanks very much 😀

  • StackRadius Profile Picture
    32 on at

    Hi,

    @Expiscornovus Thanks really learnt a lot. Yet I facing an issue of unauthorized error.

     

    I tried this but getting unauthorized error, I gave my self "site collection administrator in SharePoint"

    and deleted the connection reconnected it. But the error is same.

     

    StackRadius_0-1676782069261.png

     

    StackRadius_1-1676782225807.png

     

    Is there a way out?

     

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

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 450

#2
Haque Profile Picture

Haque 366

#3
Valantis Profile Picture

Valantis 349

Last 30 days Overall leaderboard