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 / Create a SharePoint li...
Power Automate
Answered

Create a SharePoint list by JSON that can be assigned an internal name and a different name to the title.

(0) ShareShare
ReportReport
Posted on by 23

Good Morning.

I greet everyone.

I need your help. How to create a SharePoint list by JSON that you can put an internal name ("listName": "sitecreate",) and a different name to the title (for example: "Creating sites") ?:

{
      "$ schema": "schema.json",
          "actions": [
             {
                  "verb": "createSPList",
                  "listName": "sitecreate",
                  "templateType": 100,
             }
       ]
}


I hope you can help me

Categories:
  • RezaDorrani Profile Picture
    12,145 on at

    Hi @jairobaleta 

     

    Site scripts do not have this option currently

    whatever you specify here will be the set name for both internal and display name

     

    One option would be to call MS Flow end of site script and then change the list name within flow using send an http request option to sharepoint action

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

     

     

  • jairobaleta Profile Picture
    23 on at

    Thank you very much for your answer.

    I am a beginner in the topic of Microsoft Flow, I have tried to add a JSON SCRIPT equal to the one that is created to be executed through PowerShell and it has not worked for me. I have done it through "Send an HTTP request to SharePoint":
     


    I hope you can help mCaptura.JPG

     

     

  • Verified answer
    RezaDorrani Profile Picture
    12,145 on at

    Hi @jairobaleta 

     

    Below is an example of how to do so

    What you are doing is mixing up json- site script approach with rest api

    Flow can only do the rest api approach

    Make sure to use correct basetemplateid based on ur list type

     

    Capture.PNG

  • DTshin Profile Picture
    5 on at

    Hi @RezaDorrani , 

    Has this behaviour in Site Scripts changed now? I still see in the JSON reference that the CreateSPList verb that there is still only listName parameter. I haven't been to find any other information on this behaviour in Site Scripts so far.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard