Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Action 'Render_Report' failed in ms flows

(0) ShareShare
ReportReport
Posted on by 6

I have find the error, 

error while calling the RenderReport in Microsoft Flow. However it is retrieving all the reports in the system while testing the custom connector's "_GET_Reports" function. 

 

"error": { "code": "0x80040265", "message": "Something went wrong: The remote server returned an error: (400) Bad Request.", "innererror": { "message": "Something went wrong: The remote server returned an error: (400) Bad Request.", "type": "System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]", "stacktrace": " at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext, Dictionary`2 optionalParameters)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Execute(OrganizationRequest request, ExecutionContext executionContext)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.ExecuteOperation(CrmODataExecutionContext context, EdmOperation edmOperation, Dictionary`2 parameters, Dictionary`2 boundParameters)\r\n at Microsoft.Crm.Extensibility.OData.ActionController.ProcessOperationRequest(String operationName, Dictionary`2 operationParameters, EntityReference entityReference, String boundEntityName, String boundEntityType)\r\n at Microsoft.Crm.Extensibility.OData.ActionController.<>c__DisplayClass11_0.<PostBoundAction>b__0()\r\n at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)\r\n at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()" } } }

  • Atheeth Profile Picture
    6 on at
    Re: Action 'Render_Report' failed in ms flows

    I am facing similar issue . If disable MFA will this work ? is that the root cause ?

    _Get_Reports ,_Get_savedQueries are working . _Post_RebderReport is failing with below error

    {
    "error": {
    "code": "0x80040265",
    "message": "Something went wrong: The remote server returned an error: (400) Bad Request."
    }
    }

  • Rameez Ahmad ctn Profile Picture
    6 on at
    Re: Action 'Render_Report' failed in ms flows

    First I have developed a ssrs report.

     

    Then i have configured report scheduler in crm and flows.

     

    Using flows i have schedule to send report by email in any format like pdf, excel etc,

     

    note: Mfa for you should be disabled for the user.

     

    also go through the given link:

     

    https://github.com/bguidinger/Xrm.ReportScheduler/blob/master/docs/INSTALL.md

  • Dribblej Profile Picture
    16 on at
    Re: Action 'Render_Report' failed in ms flows

    Hello, 

     

    I am experiencing the exact same problem. Can you tell how you fixed this problem please?

  • VDflow Profile Picture
    2 on at
    Re: Action 'Render_Report' failed in ms flows
    please let me know you resolved
  • Rameez Ahmad ctn Profile Picture
    6 on at
    Re: Action 'Render_Report' failed in ms flows

    First I have developed a ssrs report.

     

    Then i have configured report scheduler in crm and flows.

     

    Using flows i have schedule to send report by email in any format like pdf, excel etc,

     

    note: Mfa for you should be disabled for it.

  • Rameez Ahmad ctn Profile Picture
    6 on at
    Re: Action 'Render_Report' failed in ms flows

    Yes, using MS flow i was sending report, now it is resolved.

  • MJain Profile Picture
    2,450 on at
    Re: Action 'Render_Report' failed in ms flows

    Hi Rameez,

    Are you trying to execute a report via flow ?

     

    Thanks

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,522 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow