Skip to main content

Posts

Showing posts from 2020

Connect XRM ToolBox to MFA enabled environment

  Multi Factor Authentication has now become a common practice by all organizations to enhance security. While enabling MFA for users will not have any effect, for enabling MFA for the system administrator you need to take care of below points: 1) Reauthenticate connections for Power Automate 2) Reauthenticate connections for Power BI.  All the functionality will work as expected once we reauthenticate, if you are the developer and want to connect with XRM Toolbox. Go to Connect in XRM Toolbox On selecting OAuth/MFA, enter the environment URL. In case you want to connect to Production instance, you will have to follow instructions given here Tutorial: Register an app with Azure Active Directory (Microsoft Dataverse) - Power Apps | Microsoft Docs But if it is Sandbox environment, after entering URL>> simply click on Use development Azure AD App Note:

Auto Save Using Timer Control In PowerApps

Introduction :   While using Power apps, we might come across situation where we do not want the user to click on the Save button and then move to next screen to fill in child records. In such case we can use timer control to auto save the form and navigate to new screen. Solution : In my Use Case, I have  Order which will be auto saved and then the screen to fill in  order lines will open. 1) Add the timer control on  order form. I have set auto start to yes and the duration to 2seconds, so when my form will load the timer will auto start and run for 2seconds after which it will execute the action OnTimerEnd. 2) I want to submit the form only when the fields have data. So in the formula,  if data is empty, the user will be notified and timer will reset else the form will be submitted, its id will be saved in variable, the form will reset and user will be navigated to next screen. You can modify the formula based on your requirements. I have saved the last submit, so that I can open th

Power Virtual Agents to MS Teams

  Introduction:   In this blog we will go through steps to embed your Power Virtual Agent to Microsoft Teams Channel.   Steps: After your bot is completed and Published, go to channels and select Microsoft Teams. When you click on Add an App ID will be generated for you.   Go to MS Teams and go to App Studio>>Manifest Editor   Once you click on create new app, the below screen will be visible   Click on Generate to create an App ID and enter data in all Fields marked as required. Go to Bot Tab. Click on Set up and go to Existing bot.   Enter the App ID that was generated for channel in PVA and hit Save. Go to test and distribute and install.   Your Bot in MS Teams is ready for use.