Facing issues with SharePoint list item activities
Issue Description
While using the Update list item SharePoint activity, an error occurs:
"Update List Item: Code: invalidRequest
Message: Invalid request"
Resolution
According to Microsoft's official documentation, this is a Graph API limitation.
As a workaround, build an API code:
Use a Dictionary(Of String, Object) in VB.NET to construct the JSON payload for the Microsoft Graph API request. The hyperlink field is formatted as a dictionary with URL and Description keys.
Keep the column as text, but add the data in html format, which looks like a hyperlink column
New System.Collections.Generic.Dictionary(Of String, Object) From {{"URLLink", "<a href="""+in_StrURLLink+""" target='_blank'>Link</a>"}
}