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.