Problem:
I used the following blog site to host the “sample” provider hosted app on the azure web site.
http://www.sharepointnutsandbolts.com/2013/07/deploying-sp2013-provider-hosted.html
I got an error “Could not find a context token.” I did all the required step in my MSDN O365 Multi –tenant and in the project files.
I tried multiple times, but could not figure out what I have missed in my approach? This should have worked. It drove me crazy.
Solution:
I traced back all the steps for Client Id and Client Secret. Everything was right but one step in the registering the app I used the “www.” in the App Domain Name field. This was the reason I got an error.
I hope this helps you, thanks for reading!