web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint List (singl...
Power Automate
Answered

Sharepoint List (single choice drop-down) Choice Field shows the ID not the value

(0) ShareShare
ReportReport
Posted on by 11

we're using flow to create new list items in sharepoint online, where we poplulate a (single-value) choice field with text that perfectly matches the choices available. This has worked in the past, but lately, newly created records show the choice IDs, not the values.

 

we tried to trouble shoot this by building a very simple flow that creates a new record and simply sets the choice field. but even here the ID of the choice shows up, not the value.

 

we get the below in the output of the "Create Item" step

...

,

"someColumnName": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
"Id": 0,
"Value": "aFineChoice"
},
"someColumnName#Id": 0,
...
Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @gv73 

    I just ran a quick test creating a new list item and setting the value in a choice column and had no issues.  I selelcted "enter custom value" and referenced a variable.

    Can you confirm that this is a choice column an not a lookup column?

     

  • gv73 Profile Picture
    11 on at

    thanks Scott. yes, i'm positive it's a choice column. 4 hard coded choices - all text...

    cheers, Gregor

  • v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @gv73 ,

     

    Could ypou please share a screenshot of the created records which show the choice IDs, not the values?

     

    Best regards,

    Alice       

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Verified answer
    gv73 Profile Picture
    11 on at

    Alice, Scott, thanks for your help on this. Turns out neither flow nor sharepoint online are to blame here.

     

    We found the root cause of our issue: we run an azure function triggered at (flow based) list item creation. the function looks up a bunch of stuff and updates the new record. in the code base of that function the choice field in question here is modeled as an enum.

     

    having recently migrated from csom to the ms graph sharepoint api's we haven't explicitly applied ToString() to the enum values - that's how the ID's managed to sneak back in. Problem solved. yay.

     

    Cheers, Gregor

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 416

#3
David_MA Profile Picture

David_MA 344 Super User 2026 Season 1

Last 30 days Overall leaderboard