
Hi,
I have created a mobile app for creating orders using Dynamics 365 CRM data. Now I need to create a login screen to this app. I want to use the portal contact credentials into the app.
So I created a screen like below:
and Onselect of Login I have given If(LookUp(Contacts, 'User Name' = TextInput1.Text, 'Password Hash') = TextInput1_1.Text, Navigate([@WelcomeScreen],ScreenTransition.Fade),"")
I have tried connecting contact using both Common data service and Dynamics 365.
After doing this I tested with the username and password, but it is not working with the password text, but it works if I put the password hash value from CRM.
Please help me with how to achieve signing in.
Thanks,
Arul
Hi Arul,
Authentication is handled by PowerApps platform, and you don't need to develop a screen for that.
After to finish your app, and sharing it with other users, they just will be able to access you application, if they have valid credentials for your tenant.
Before to see your application, they must authenticate on Tenant, using their )ffice 365 credentials. Just before to get authenticated, they will able to see your canvas app (if you have already shared it with them), and then use it.
More information on how to share an app with users: docs.microsoft.com/.../share-app.
Also, is possible to share it with guests. For prerequisites and step by step: docs.microsoft.com/.../share-app