Hi @Rukmini
We have an application 'Infosys Bot Migrator' that migrates RPA bots to Power Automate bots.
We have Dataverse app for authentication and storing the Power Automate Desktop flows into Azure.
Current APIs that are enabled as:
Dynamics CRM (1)
user_impersonation | Type: Delegated | Description: Access Common Data Service as organiz... | Admin consent required: No
**Microsoft Graph (2) **Group.Read.All | Type: Application| Description: Read all groups | Admin consent required: Yes
User.Read | Type: Delegated | Description: Sign in and read user profile | Admin consent required: No
PowerApps Services (3)
As discussed on previous ticket (https://dori-uw-1.kuma-moon.com/en-us/answers/questions/5610074/what-apis-permissions-must-be-enabled-for-client-c?comment=answer-12331131&page=1#comment-2332873), If Device code and Authorization code flow both are different ways, then please share the APIs that needs to be enabled and what permissions we need to proceed with Authorization code flow.
Please also confirm that Authorization code flow is safest and recommended approach to do. Though, Device code flow is also a way but recently this year, phishing attempt happened as we researched. And also, client was not accepting Device code authentication flow for our use case.
By considering all these factors, please let us know should we proceed with Authorization code or suggest with some other alternate.