Posts

Create user in AAD using Power Automate.

Image
Hello Guys, In our previous  blog   we have seen how we we can send URLs in email using Power Automate Flow.  Today we will see how we can create user in Azure Active Directory using Power Automate Flow. Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. Consider a scenario where we are using D365 CRM for storing our internal employee information. We are using contact table for the same. Now we want whenever a new employee joins organization a new user account should also be created in AAD. First of all we will see what information is required for creating user in AAD. As you can see in above image we have two users available. Now click on New User. So here to create a new user we need above information to be filled. Now let's see how we can achieve this using Power Automate Flow. We will be creating one automated flow which will be triggered whenever a new employee record will ...

Create and Send CRM URL dynamically in Email using Power Automate Flow.

Image
  Hello Guys, In our previous  blog   we have seen how we can write and test unit test case for plugin. Today we will send URLs in email using Power Automate Flow.  Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. There are some scenarios where we need to send email along with some URLs. For example we have created some views which contains specific records and we want to notify user by sending email which contains URL of that view. Now we can send the URL of the view by copying it from browser and send it in mail. But this will run only for one environment as different environment is having different guids. Let's see how to do that.  We will be creating one schedule flow which will retrieve Accounts and for each account it will send email along with URL. Visit  https://make.powerautomate.com/  and select your environment. Now click on create and select sch...

How to write Unit Test Case for your Plugins using C#.

Image
Hello Guys, In our previous  blog   we have seen one of the important feature of Power Automate Flow which is Geofencing. Today we will see how we can write and test unit test case for plugin. Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. As being a CRM developer we have written so many plugins related to our project. There are some situation where we need to test whether our plugin is executing and running properly. Sometimes we need to write unit test cases for our plugin where we are providing inputs to plugin to check whether our plugin is satisfying all the conditions and functionality is achieved or not.  So let's see how we can write test cases for plugin.  For time being I have created one plugin named CustomerNumbering which is used for creating customer's unique number based on BU whenever a new customer record is created by user. So now we will be writing Un...

Using Geofencing in Power Automate Flow.

Image
  Hello Guys, In our previous  blog   we have seen one of the important feature of Power Automate Flow which is Concurrency Control. Today we are going to explore Geofencing in Power Automate Flow. Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. First of all let's understand what is Geofencing?.  Microsoft Power Automate provides a feature which is Geofencing which can be used to define an area or a fence around a location. The feature allows users to create a location range that triggers a flow when a mobile device enters or leaves the location range. This enables certain flows to automatically run. We can understand Geofencing by the example of Roaming SMS notification which we have received many times whenever we are entering or leaving a particular cellular network.   Microsoft Power Automate Flow provides the Geofence trigger which allows user to trig...

Using Concurrency Control & Degree of Parallelism in Power Automate Flow.

Image
  Hello Guys, In our previous  blog   we have seen how easily we can store these 5000 records in Array. Today we are going to learn one of the important feature of Power Automate Flow which is Concurrency Control. Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends. First of all we will create one manual flow which will retrieve Account records. For time being I have already created the flow which is as shown below. Here we are retrieving top 100 rows. Now we will iterate this flow and try to update one field of account. Now we will run the flow and check the output. As you can see flow has run successfully. Also if you expand the Apply to each step you will see that here apply to each loop is running in sequential manner which means one after another. we can control this sequential manner by enabling concurrent control for the step. By enabling this feature we can run the inside ...