Missing or Invalid property value for $(MsDeployServiceUrl) Building SharePoint Apps

Comments 0

Share to social media

I was using an automated build to package up a SharePoint App when I received the following error:

Missing or Invalid property value for $(MsDeployServiceUrl)

I used grepWin to search through our project files looking for any references to this value and found none, leading me to initially believe that it was in fact missing.  However, I was able to successfully package the app using a different publishing profile which led me to believe something else was wrong.  After a bit of digging, I noticed that the publishing profile that worked had a Client ID set, but the one that did not work had a blank Client ID (not sure how it got removed).  After adding the Client ID value back into the publishing profiles everything started working again.

Load comments

About the author

Damon Armstrong

See Profile

Damon Armstrong is a consultant with SystemwarePS in Dallas, Texas. He is also a blogger and author of Pro ASP.NET 2.0 Website Programming and SharePoint 2013 Essentials for Developers. He specializes in the Microsoft stack with a focus on web technologies like MVC, ASP.NET, JavaScript, and SharePoint. When not staying up all night coding, he can be found watching a bunch of kids, studying Biblical topics, playing golf, or recovering from staying up all night coding.