Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createSPList not updating the existing list #10003

Open
1 of 9 tasks
ahmad-uzair opened this issue Nov 6, 2024 · 1 comment
Open
1 of 9 tasks

createSPList not updating the existing list #10003

ahmad-uzair opened this issue Nov 6, 2024 · 1 comment
Labels
Needs: Triage 🔍 Awaiting categorization and initial review. type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Comments

@ahmad-uzair
Copy link

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

Site designs & site scripts

Developer environment

macOS

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

Power Automate Flow SharePoint HTTP Connector

Describe the bug / error

When i run a createSPList site script on an existing list, it gives the follwoing error:

{
"ErrorCode": -2130575342,
"Outcome": "2",
"OutcomeText": "List with name already exists.",
"Target": null,
"TargetId": null,
"Title": "Create or update list ",
"Verb": "createSPList"
}

Steps to reproduce

  1. Create a new Sharepoint List in another tenant from an existing list in one tenant using the createSPList site script
  2. Add a new column to the sharepoint in the source tenant
  3. Run the createSPList site script again

Expected behavior

It should update the existing list as mentioned in the note on the documentation here

https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema#create-a-new-sharepoint-list

@ahmad-uzair ahmad-uzair added the type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. label Nov 6, 2024
@VesaJuvonen VesaJuvonen added the Needs: Triage 🔍 Awaiting categorization and initial review. label Nov 6, 2024
@ahmad-uzair
Copy link
Author

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Awaiting categorization and initial review. type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Projects
None yet
Development

No branches or pull requests

2 participants