I would like to create an MVC application, where users can be authorized with their Azure subscription and after that my application can manage their resources hosted in Microsoft Azure (VM-s, Web Sites, etc.)
I created an application with the help of this tutorial.
I can create cloud storages, VMs, etc, so it seems works fine.
After that I tried to log in with a different Azure account. I can get the Subscription, but I can't manage the resources of that user, I always get an exception:
Additional information: AuthenticationFailed: A security token exception occured for the received JWT token.
It seems that with this technique I can manage only my resources.
My question is how can I do the following with every other user? Can I do this with this method or I have to make it another way?