cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate III
Advocate III

Inconsistent behavior of Display name

A flow writes a row to an Excel table at the end of execution. In the Requested by field, the connector is the user name of the person who triggered the flow. 

 

annetoal_0-1608650504111.png

Its value is 

triggerOutputs()['headers'][x-ms-user-name-encoded']

 

Looking at the spreadsheet, you see that two times it displayed the name as the encoded name and the rest of the time it displayed what I want--the Display name.

annetoal_1-1608650863816.png

I'm having trouble understanding why sometimes the Flow writes the same value one way and sometimes the other. Here's the output of a good run

{
  "@odata.context": "https://excelonline-eus2.azconn-eus2.p.azurewebsites.net/DELETED",
  "@odata.etag": "",
  "ItemInternalId": "xxx-7f90-4d8f-a4d1-xxx",
  "File name": "Test",
  "Requested by": "Anne Toal",
  "Date/time requested": "12/21/2020 5:26 PM",
  "Reviewed by": "SharePoint Test1",
  "Date/time reviewed": "12/21/2020 5:26 PM",
  "Status": "Rejected"
}

Here is the output from a run where it didn't display correctly:

{
  "@odata.context": "https://excelonline-eus2.azconn-eus2.p.azurewebsites.net/DELETED",
  "@odata.etag": "",
  "ItemInternalId": "xxx-0bc6-439c-aa72-xxx",
  "File name": "simple.docx",
  "Requested by": "QW5uZSBUb2Fs",
  "Date/time requested": "12/22/2020 8:33 AM",
  "Reviewed by": "SharePoint Test1",
  "Date/time reviewed": "12/22/2020 8:43 AM",
  "Status": "Rejected"
}

Is this a bug? @ScottShearer 

Anne

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@annetoal 

What you are doing is pretty straight forward and you have documented inconsistent results.  I suspect that this is a bug but you'll want to report it here in order to bring it too the attention of the Power Automate team.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

1 REPLY 1
Super User III
Super User III

@annetoal 

What you are doing is pretty straight forward and you have documented inconsistent results.  I suspect that this is a bug but you'll want to report it here in order to bring it too the attention of the Power Automate team.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (93,816)