Forum Discussion

bbliang's avatar
bbliang
Copper Contributor
Apr 23, 2023

Different Template IDs when using Export-PnPListToSiteTemplate to export the same lists

I use Export-PnPListToSiteTemplate to export lists of a sharepoint oneline site to a template. I would like to put the list template exported to git repository for version control in Azure DevOps pipeline.

 

But I find that the pipeline commits and pushes to git repo every time even though there is no any change to the lists. I checked the commit history and found that the template ID has been changed.

 

Is it possible to keep the template ID unchanged? The intent is not to commit to git if there is no any change to the list.

No RepliesBe the first to reply

Resources