0

While attempting to set up a Power Automate flow to transfer task data from an Excel file stored in OneDrive or SharePoint into Planner Premium, several issues have been encountered. (Sorry if the error "snippet" is displaying the wrong way - I don't use this site a lot - but appreciate any help).

Steps Attempted

  1. Created a new flow in Power Automate
  2. Selected the trigger: "When a file is created or modified (OneDrive for Business)" to monitor the Excel file.
  3. Added an "Excel Online (Business)" action to read rows from the file.
  4. Attempted to add an action to create tasks in Planner Premium based on the Excel data using DataVerse.
  5. Copy of the flow & Errors are below:

Text of error:

Action 'Perform_an_unbound_action' failed: Error identified in Payload provided by the user for Entity :'', For more information on this error please follow this help link https://go.microsoft.com/fwlink/?linkid=2195293 ----> InnerException : Microsoft.OData.ODataException: The annotation 'odata.context' was found. This annotation is either not recognized or not expected at the current position. at Microsoft.OData.JsonLight.ODataAnnotationNames.ValidateIsCustomAnnotationName(String annotationName) at Microsoft.OData.JsonLight.ODataJsonLightResourceDeserializer.ReadEntryInstanceAnnotation(String annotationName, Boolean anyPropertyFound, Boolean typeAnnotationFound, PropertyAndAnnotationCollector propertyAndAnnotationCollector) at Microsoft.OData.JsonLight.ODataJsonLightResourceDeserializer.ReadODataOrCustomInstanceAnnotationValue(IODataJsonLightReaderResourceState resourceState, PropertyParsingResult propertyParsingResult, String annotationName) at Microsoft.OData.Json…
    Troubleshoot Web API client errors - Microsoft Dataverse | Microsoft Learn
    Provides resolutions for the common client errors that occur when you use the Dataverse Web API.

Flow Overview

Error

1 Answer 1

1

Planner Premium (Project for the web) tasks are created via Dataverse “Project Schedule APIs” (not the classic Planner connector). Also In Power Automate you must call Microsoft Dataverse >> Perform an unbound action with the exact parameters those APIs expect.Finally, Your error (The annotation 'odata.context' was found … not expected) means the body you sent contained response metadata (like @odata.context) from some previous step. Dataverse actions expect only the parameter object(s)—never the full OData response payload.

so in Dataverse:

  1. Create operation set >> msdyn_CreateOperationSetV1

  2. Create rows (staging) >> msdyn_PssCreateV1 (repeat per row or in a loop)

  3. Execute operation set >> msdyn_ExecuteOperationSetV1

  4. Abandon operation set on failure >> msdyn_AbandonOperationSetV1

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.