Friday, October 7, 2022

How to Fix Microsoft Flow Error : Request to Azure Resource Manager failed with error: '{'error':{'code':'InvokerConnectionOverrideFailed','message':'Could not find any valid connection for connection reference name 'shared_excelonlinebusiness' in APIM tokens header.'}}'.

Introduction:


In this Blog we will see how to fix Microsoft Flow error - InvokerConnectionOverrideFailed


Implementation Steps:

 

Consider while creating a new Power Automate Flow which contains Excel or SharePoint. Once After you done with your flow while triggering/testing the flow sometimes you will get Request to Azure Resource Manager failed with error: '{"error":{"code":"InvokerConnectionOverrideFailed","message":"Could not find any valid connection for connection reference name 'shared_excelonlinebusiness' in APIM tokens header."}}'. this error.

 

rampprakash_1-1665125168560.png

 

 

Why this Issue Occurs?

 

This is Because the While Creating the Flow you are trying to add a new Connection within the flow like Adding an Excel (it will automatically create a Connection or SharePoint etc.,.)

 

How to Resolve this Issue?

 

There are Couple of Ways we can Resolve this Issue

 

Resolution 1 - Below Steps need to be Performed Once the Flow Gets Created : 

 

Once the flow gets Created 

 

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

 

2. Click My Flows 

 

3. Select the Flow and Click on RUN

 

rampprakash_0-1665125131254.png

 

4. Once You Click on Run it will Load the Popup with Respective Connections ( All the Connection with Current Microsoft Flow is Required) 

 

rampprakash_2-1665125283512.png

 

 

5. Once after it is Success you are Good to Trigger the Flow.

 

Refresh the Screen and Start Working :slightly_smiling_face:

 

Resolution 2 - Below Steps need to Be Followed before Flow Gets Created:

 

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

 

2. Click on Data --> Select Connections

 

rampprakash_0-1665124684474.png

 

3. Click New Connections

 

rampprakash_1-1665124751487.png

 

4. Search for the Respective Properties Item to Use (like Excel, SharePoint, Dataverse etc.,.)

 

rampprakash_2-1665124821163.png

 

5. Select the Respective Item --> Once Selected it will Show you a Popup to Create a Connection

 

rampprakash_3-1665124871609.png

 

6. Click Create

 

7. Once After You done this you are food to Create Microsoft Flow, now if you try to add a new connection it will Automatically fetch it from the Respective Connections which we have created.

 

That's it :slightly_smiling_face:

 

Thursday, October 6, 2022

How to Increase File Column Size in Dataverse

Introduction:

In this Blog, we will see how we can increase size of File Column in Dataverse/MSCRM Environment.

 

Implementation Steps:

 

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


2. Select the Respective Environment


3. Click Solutions if you have any else click Dataverse and Select Tables


rampprakash_3-1665051411936.png

 

 

4. Click on Respective Table and Open it.


5. Click New --> Select Columns


rampprakash_2-1665051383311.png

 

 

6. Once Selected New Column it will open a Popup in that Select Data Type as File and Select File as an Option


rampprakash_1-1665051354400.png

 

7. On Selected Click Advance Settings to Increase file Size

      Default Size will be 32768


rampprakash_4-1665051436843.png

 

8. If we want to Increase the Default File Size you can increase the same in Maximum File Size Column.

 

9. Once Done Click On Save

 

That's it :slightly_smiling_face:

Friday, September 23, 2022

Create Filter Expression with AND & OR Condition in Model Driven Apps

Introduction:


In this Blog we Will see how to Use Filter Expression with Both And/Or Condition with Query Expression


Implementation Steps:

 

Consider a Scenario that I want to make Multiple Filter Condition with Both And/or Condition From Account Table Using Plugins

 

QueryExpression query = new QueryExpression("account");
query.ColumnSet.AddColumns("accountid");
FilterExpression filterAccount = new FilterExpression(LogicalOperator.Or);

FilterExpression filterName = new FilterExpression(LogicalOperator.And);
filterName.Conditions.Add(new ConditionExpression("NAME_LOGICALNAME", ConditionOperator.Equal, PASSYOURVALUEHERE));
filterName.Conditions.Add(new ConditionExpression("NAME_LOGICALNAME", ConditionOperator.Equal, PASSYOURVALUEHERE));

FilterExpression filterName2 = new FilterExpression(LogicalOperator.And);
filterName2.Conditions.Add(new ConditionExpression("NEWFIELD_LogicalName", ConditionOperator.Equal, id2));
filterName2.Conditions.Add(new ConditionExpression("NEWFIELD_LogicalName", ConditionOperator.Equal, id3));

filterAccount.AddFilter(filterName);
filterAccount.AddFilter(filterName2);

query.Criteria = filterAccount;

 

In the Above Example Am using Both And/OR Condition in FilterExpression with QueryExpression.

 

That's it :slightly_smiling_face:

Wednesday, September 14, 2022

How to use Terminate Operation in Microsoft Flows

Introduction:


In this Blog we will see how to use Terminate Operation in Microsoft flows


Implementation Steps:

 

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

 

2. Click My Flows --> Select New Flows and Select Instant Cloud Flows

 

3. Then it will show a popup input the name and Select PowerApps

rampprakash_0-1663134722682.png

 

4. In My demo am using Back End as SharePoint List.

 

5. If the SharePoint List Does not Contain Data Terminate the flow else process the flow

 

6. For that First use Get List and Get the Items from the List

 

rampprakash_1-1663135209771.png

 

 

7. Add a Condition and Check the Length of the List

 

rampprakash_2-1663135243521.png

 

 

8. If the Length is 0 then Terminate the flow (Click Add Step and Search for Terminate)

 

rampprakash_3-1663135303922.png

 

9. Once Added you can provide Your Own Status Code and Message 

 

rampprakash_4-1663135335271.png

 

 

That's it :slightly_smiling_face:

 

Thursday, August 25, 2022

Create an Excel using Microsoft Flow - SharePoint

Introduction:


In this blog we will see how to create an Excel using Microsoft Flow SharePoint. 


Implementation Steps:

 

1. Navigate to Your SharePoint Site.

 

2. Click Documents or Open Your Document Library

rampprakash_0-1661411292934.png

 

3. Click New and Select Excel Work Book

 

rampprakash_1-1661411322752.png

 

4. Once Selected it will Open a Page in Different Window

 

5. Create a Column and Frame a Table (Optional)

 

rampprakash_2-1661411385278.png

 

 

6. Once Done Rename the Excel File (Optional). Here i renamed it as Parent Document.xlsx

rampprakash_3-1661411618542.png

 

7.  Now Navigate to https://make.powerautomate.com

 

8. Click My Flows --> Select Instant Cloud Flows --> Provide Name for the flow --> and Select PowerApps

 

rampprakash_4-1661411792929.png

 

9. Once Click on Create it will open a Page

 

10. Now Select Add Step and Search for SharePoint 

 

rampprakash_0-1661411865785.png

 

 

11. Once Selected It will Create a Connection --> Then Select GET FILE CONTENT USING PATH

 

rampprakash_1-1661411930637.png

 

12. Once Selected input the Site URL and Path of our Excel File

 

rampprakash_2-1661411972795.png

 

 

13. Once Done --> Click Save and Test --> Automatically --> Run Flow

 

14. Once it is Success you will get File Content

 

rampprakash_3-1661412032910.png

 

15. Now Click on Add Steps --> Search for Compose --> And Paste the Content from GET FILE CONTENET USING PATH

 

rampprakash_4-1661412107103.png

 

16. Once Done --> Create a New File with the Same File Content 

 

17. Click Add New Step --> Select Create File --> Input Site Address, Folder Path(where to create a new file), File name and Content from Compose

 

rampprakash_5-1661412139936.png

 

18. Once Done Click Test and Run the Flow

 

rampprakash_6-1661412227799.png

 

19. if the Flow Ran Successfully, Navigate to SharePoint to View the New File

 

rampprakash_7-1661412259457.png

 

20. Now here you can see the New File Copied Successfully --> Open the File to Check the Columns

 

rampprakash_8-1661412320537.png

 

 

That's it :slightly_smiling_face: This is How we need to Create an Excel using Microsoft Flows with SharePoint

 

Video For your Reference : https://youtu.be/z-86xSgghTI

Day 11 - Customizing Option Sets Dropdown Fields with JavaScript

  In this Blog, we will see how to Customizing Option Sets Dropdown Fields with JavaScript label1 = formContext.getAttribute( "bosch_op...