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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Entra ID Update User I...
Power Automate
Suggested Answer

Entra ID Update User Issue - otherMails

(0) ShareShare
ReportReport
Posted on by

Hello all,

 

I'm trying to update a user in Azure with the Update User connector. I'm using the additional properties field to update the otherMails field with the user's personal email address.

 

When I put the address in as plain text or dynamic content I get this error: An unexpected 'PrimitiveValue' node was found when reading from the JSON reader. A 'StartArray' node was expected.

 

I can see at the http route's documentation, here, that it is expecting a "String collection" and gives this example: "A list of additional email addresses for the user; for example: ["bob@contoso.com", "Robert@fabrikam.com"]."

 

I think it's giving the error because I'm not giving it an array. I tried two things here. First, I tried writing the request in the text mode option as "otherMails": [ "user@email.com" ] and with it as dynamic content and those both gave me the same error. Secondly, I tried using the initialize variable connector to initalize an array and then appended the user's email to that array and then put the variable in the key:value table and still got the error. I even tried this in text mode.

Categories:
I have the same question (0)
  • PP-24120109-0 Profile Picture
    2 on at
    Running into this exact issue. Created an array variable, appended to it the other email, same error. Tried just creating the StartArray manually in the Update User action and same error. I think this is an issue in the Entra connector. 
  • Suggested answer
    Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at
     
    Having just tried it, you are correct, this action does not seem to work.

    I also tried the following, but got "Insufficient privileges to complete the operation":



    HTTP with Microsoft Entra ID (preauthorised):



    You will need to define permissions for the connector.

    And for another test, I used the Graph API Explorer to update the otherMails property and this worked:




    See: â€‹â€‹â€‹â€‹â€‹â€‹â€‹Manage Users using the Graph API in Power Automate



     
    Ellis Karim

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard