Thursday, August 11, 2022

Connection not Configured for this service ? Error While Calling Instant Microsoft Flow ?

Introduction:

In this Blog, we will see how to get rid of Instant Cloud Flow Connection Issue wile calling from PowerApps.

Implementation steps:

 

I have a PowerApps Application, in that While OnStart of the App am having an Instant Cloud Flow to check weather the User Exists in SharePoint Group or not and it will respond to PowerApps as true or false

 

If i Run this Application in Dev Environment am getting the flow triggered Successfully, when am moving from one Environment to another environment am getting Flow name : Connection not Configured for this service 

 

In Dev I have System Administrator Role hence I didn't face any issues.

In UAT am having only Basic User Access

 

Let's see how we can fix the issue

 

1. Navigate to https://make.powerapps.com

 

2. Click Gear Icon at the Top then Click Advance Settings 

 

rampprakash_0-1660219416253.png

 

 

3. Click Settings --> Security --> Select Security Roles 

 

rampprakash_1-1660219555365.png

 

rampprakash_2-1660219589255.png

4. Open Basic User --> Select Customization Tab --> Search for Process

 

5. Change the Read Access from User to Organization

 

rampprakash_4-1660219677328.png

 

 

6. Now Click Save and Close 

 

That's it :slightly_smiling_face:

 

Once after done this Refresh the Application, you won't get the Connection Issue Further :slightly_smiling_face:

Get OptionSet Text and Value Using Microsoft Flow

Introduction:


In this Blog we will see how to get OptionSet Text and Value using Microsoft Flow from MSCRM


Implementation Steps:

 

1. Navigate to https://flow.microsoft.com

 

2. Click My Flows --> Click New Flows 

 

3. For this Demo we are using Instant Cloud Flows

 

rampprakash_0-1660216471208.png

 

 

4. Enter the Name and Select PowerApps and Click Create

 

5. Now Navigate to CRM and get an Account to Proceed further

rampprakash_0-1660216611381.png

 

From the Above Screenshot select the Account id and Have a look on the Industry Drop Down As well

 

6. Now Navigate to Microsoft Flow and Select Get a Row By id then Select the Entity and paste the Account id Copied from Point 5.

 

rampprakash_1-1660216704885.png

 

7. Now Initialize the Variable to get the Value of Industry

 

rampprakash_2-1660217035093.png

 

8. Now Save the Application Click Test and Run Test

rampprakash_3-1660217176084.png

 

9. Once you Ran the Application, you can see Number as Output, let's see how we can get the text from the Option Set Values

 

10. Expand the Get Rows and you will see ODATA File over there Search for Industry in the Body

 

rampprakash_0-1660218391323.png

 

11. Copy the Formatted Value like below

 

industrycode@OData.Community.Display.V1.FormattedValue
 
12. Now Frame the Query like below
 
outputs('Get_a_row_by_ID')?['body/industrycode@OData.Community.Display.V1.FormattedValue']
 
13. Create another Variable and paste the Expression from #12
 
Now Try Running the App and Check the Variable
 
rampprakash_2-1660218520927.png

 

Now you can see the Text from Option Set Values

 

That's it :slightly_smiling_face:

 

Sunday, August 7, 2022

How to Get Count of Records for a List in Power Automate

Introduction:


In this Blog we will see how to get Count of Records using List Rows


Implementation Steps:

 

First I will navigate to my CRM Accounts and Check the Count of Records

 

As of now Currently am having 3 Records in Account Table

 

Microsoft Flows

 

1. Navigate to https://flow.microsoft.com

 

2. Click My Flows --> Click New Flows 

 

3. For this Demo we are using Instant Cloud Flows

 

rampprakash_1-1659896081519.png

 

4. Enter the Name and Select PowerApps and Click Create

 

5. Once Page Loaded --> Select List Rows

 

rampprakash_0-1659896325837.png

 

6. Enter the Table Name as Accounts

 

rampprakash_1-1659896383467.png

 

7. Click Save and Click Test --> Select Manually --> Click Test --> Click Run Flow

 

rampprakash_2-1659896487175.png

 

8. Once Flow is Success you can see the Values over there then you can use Length to getting Count of Records

 

9. You can see the Count of Records

 

rampprakash_3-1659896644999.png

 

That's it :slightly_smiling_face:

Thursday, July 28, 2022

How to Enable Spell Check in Canvas PowerApps?

Introduction:


In this Blog, we will see how to Enable Spell Check in Canvas PowerApps.


Implementation Steps:

 

1. Navigate to https://make.powerapps.com

 

2. Click Apps --> Select New Apps --> Select Canvas

 

rampprakash_0-1659005545549.png

 

3. Once Selected it will Pop-Up Screen then Input Name and Click Create

 

rampprakash_1-1659005612754.png

 

4. Once Page Loaded --> Click Insert --> Select Text Input 

 

rampprakash_2-1659005690530.png

 

5. Then Run the Application and Input value as "Spel Check"

 

rampprakash_3-1659005821207.png

 

6. After Inputting the values you wont receive Spell Check Error in Text Box.

 

7. Lets See how we can Enable Spell Check for Showing Errors

 

8. Close the Run Mode and then Select the Text Field 

 

9. Then Select Enable Spell Check and Change it to True

 

rampprakash_4-1659006137555.png

 

 

10. Once Done Run the App and Click on the Field

 

rampprakash_5-1659006186545.png

 

11. Now you can see the Error Message Occurred.

 

rampprakash_6-1659006379598.png

 

 

That's it :slightly_smiling_face:

Tuesday, July 19, 2022

Get User from SharePoint Group using Power Automate

Introduction:


In this blog we will see how to get User from SharePoint Group.


Implementation Steps:

 

Create SharePoint Group:

 

1. Navigate to your SharePoint Website

 

2. Click Settings icon at the Top Right 

 

3. Then Select Site Permission

 

rampprakash_0-1658150063051.png

 

4. Then select Advanced Permission Settings

 

rampprakash_1-1658150127776.png

 

5. Click Create New Group

rampprakash_2-1658150162713.png

 

6. Provide Name for SharePoint Group and Choose the Control

 

rampprakash_3-1658150233322.png

 

 

7. Once Done Open the Group and Copy the MemberShipGroupID

 

rampprakash_4-1658150350337.png

 

 

in my case the ID is 10

 

Power Automate:

 

1. Now Navigate to https://flow.microsoft.com

 

2. Click My Flows --> Select New Flows --> For Now am selecting Instant Cloud Flows

 

rampprakash_0-1658226666373.png

 

3. Enter the Flow Name and Select PowerApps

 

rampprakash_1-1658226728281.png

 

 

4. Once page is Loaded then Select New Steps and Search for http (then select Send an HTTP request to SharePoint)

 

rampprakash_2-1658226838010.png

 

 

5. Once Selected Provide the URL and Method as GET and URI

 

rampprakash_3-1658227193746.png

 

URI : /_api/web/sitegroups/getbyid(SHAREPOINTGROUPID)/users

 

6. Save it and Test the Flow

 

7. Once Saved then Click Test and Run the Flow

 

8. Once Flow ran Success you can able to see the Output values

 

rampprakash_4-1658227343817.png

 

 

9. Now Copy the Output body and Provide in PARSE JSON

 

10. Now Add Parse JSON 

 

rampprakash_5-1658227631653.png

 

 

11. Input the Details

 

rampprakash_6-1658227675997.png

 

 

12. Then Click Generate from Sample then Paste the OUTPUT Copied from HTTP REQUEST

 

13. Now Initialize Variable as get User Principal Name

 

14. Then Set Variable and Select User Principal Name in the Set Variable

 

Note:

 

While Parsing if you face an Error try changing User Principal Values to String and null as well

 

rampprakash_7-1658228014422.png

 

 

How to Run Microsoft Flow for Every one Month

Introduction: In this Blog we will see how to Run Microsoft Flow for Every one Month. Implementation Steps:   1. Navigate to  https://make.p...