
Hi all,
I was asked to create a login structure in a canvas app(Username, password and a submit button).
Now, i need to be entering office credentials. How do i validate user credentials(Has to be an existing user)? Not just the format.
And where do i land after logging in?
Thank you.
Ex: user1@supertrial.onmicrosoft.com
Hi there,
When you share the canvas app with the user, the user needs to login with the Office credentials. However, if the Dynamics 365 is in the same tenant, it will also automatically create a connection to Dynamics 365 with the same credentials using single sign-on so you don't need to create a separate login structure within Power Apps.
If the Dynamics 365 is in a separate tenant, that is still not an issue as the user will be prompted to enter their Dynamics 365 credentials when opening that canvas app for the first time.
Kindly let me know if I misinterpreted your question.
Also as FYI - you may find Dynamics 365 connector in the list of connectors, but you should use the Common Data Service as the data source as that has improved performance over Dynamics 365 connector, yet it still can access to all of Dynamics 365 data (as D365 is built on top of Common Data Service)
I hope this helps!