Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Why does my SharePoint Add-in's Id change every time I deploy it from Visual Studio?

$
0
0

In Visual Studio 2015 I have created a new solution based on the "SharePoint Add-in" template. As I have chosen to make it a provider-hosted add-in I have two projects created: sharepoint-addin and sharepoint-addinWeb.

I am finding that every time I deploy my add-in to SharePoint Online by hitting F5 in Visual Studio, the add-in's id changes. I see this both in a change to the ClientId appSetting in the web.config of the sharepoint-addinWeb project and in the SharePoint Admin Center's App Permissions page.

Why does the id change with every deployment and how can I set the id to a fixed value?


urig


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>