Im trying to install a provider hosted app. I have registered the app on /layouts/appregnew.aspx and inserted the generated clientid and client secret web.config of my provider web and then deployed it to the provider url.
I have also created a package and added it to our appcatalog
When I try to add my new addin on /_layouts/viewlsts.aspx->Add->addin and click on my app I get the error message
The specified application identifier is invalid or does not exist.
Im guessing that SP somehow checks on the registered provider host url for the client Id and that I have done something wrong on the provider side... any idea how to diagnos this further?