I have been working on something, wherein I have to try and open an existing Office 365 based web-application within Dynamics 365 portal (online). Login into the web-application using the single sign-on provided by Office 365 or the authentication token of the currently logged in user.
To be precise, the operation steps:
- Login into Dynamics 365
- Click on a button to open the web-application ( within an iFrame or something)
- Login into the web-application using the token from the context of the currently logged in user. [ This is where I need help ]
I have tried to open the application using a ribbon button, but the Microsoft login pop-up is blocked by Dynamics 365.
I have been browsing various community pages and blogs, but none of them demonstrate the login procedure or a sample code.
If anyone can provide some sample code or some blog or even a direction which demonstrates the same, it will be of great help!