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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create premium planner...
Power Automate
Suggested Answer

Create premium planner insdie power automate stop working

(1) ShareShare
ReportReport
Posted on by 2,082 Season of Giving Solutions 2025
I have a dataverse unbound action to create a premium planner, but yesterday this action can not be edited inside desgin mode , on modern UI i will get this loading forever, as follow:-
 
 
 
while on clssic mode:-


 
 
 
 
and when i try to save the flow,  will get this error:-
Failed to retrieve dynamic inputs. Error details: 'Request to XRM API failed with server error: 'Message: An item with the same key has already been added. Code: 0x0 InnerError: Type: System.ArgumentException Message: An item with the same key has already been added. StackTrace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at Microsoft.OpenApi.OData.Generator.OpenApiSchemaGenerator.CreateStructuredTypePropertiesSchema(ODataContext context, IEdmStructuredType structuredType) at Microsoft.OpenApi.OData.Generator.OpenApiSchemaGenerator.CreateStructuredTypeSchema(ODataContext context, IEdmStructuredType structuredType, Boolean processBase, Boolean processExample) at Microsoft.OpenApi.OData.Generator.OpenApiSchemaGenerator.CreateStructuredTypeSchema(ODataContext context, IEdmStructuredType structuredType, Boolean processBase, Boolean processExample) at Microsoft.OpenApi.OData.Generator.OpenApiSchemaGenerator.CreateSchemas(ODataContext context) at Microsoft.OpenApi.OData.Generator.OpenApiComponentsGenerator.CreateComponents(ODataContext context) at Microsoft.OpenApi.OData.Generator.OpenApiDocumentGenerator.CreateDocument(ODataContext context) at Microsoft.OpenApi.OData.EdmModelOpenApiExtensions.ConvertToOpenApi(IEdmModel model, OpenApiConvertSettings settings) at Microsoft.Crm.Extensibility.OpenApi.Cache.OpenApiJsonModelCacheLoader.ConvertEdmModelToOpenApi(IEdmModel model, MemoryStream stream, IHttpContext httpContext) at Microsoft.Crm.Extensibility.OpenApi.Cache.OpenApiJsonModelCacheLoader.<>c__DisplayClass4_1.<ConvertEdmModelToOpenApiJson>b__2() at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) at Microsoft.Crm.Extensibility.OpenApi.Cache.OpenApiJsonModelCacheLoader.ConvertEdmModelToOpenApiJson(IEdmModel openApiEdmModel, IOrganizationContext context, IHttpContext httpContext) at Microsoft.Crm.Extensibility.OpenApi.Controller.CachingFlowOpenApiController.GetOrAddJsonModelAsync(OpenApiModelKey key, IHttpContext context) at Microsoft.Cds.Core.Caching.File.FileCache2.<>c__DisplayClass24_0.<<GetOrAddAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Cds.Core.Caching.File.FileCache2.<GetOrAddAsync>d__24.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Crm.Extensibility.OpenApi.Controller.CachingFlowOpenApiController.<ExecuteActionRequestAndCacheResponseAsync>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Crm.Extensibility.OpenApi.Controller.CachingFlowOpenApiController.<>c__DisplayClass6_0.<<GetAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Crm.Extensibility.OpenApi.Controller.CachingFlowOpenApiController.<GetAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext() InternalException.Message: InternalException.StackTrace: '. The tracking Id is 'ec27b163-394d-4926-a6f5-3df075a06a2d'.'
 
 
 


any advice?
 
Also the strange thing is that the flow is working well when running, the issue seems to be on design mode, where i can not even save the flow/... now yesterday another develop created a power apps for the planner customization, could this by any way caused this error?
  • Suggested answer
    Haque Profile Picture
    4,278 Super User 2026 Season 2 on at
    Hi @johnjohnPter,
     
    The error message says "Message: An item with the same key has already been added."  This can happen due to duplicate parameter names or keys in the action definition.
     
    For the UI stuff, if there is no cureent service issue from MS, can you please (if available) try editing the action in the classic designer or switch between classic and modern UI to see if the issue persists. Finally, if time allows, one more option is to recreate the action or flow?
     
     
  • Suggested answer
    11manish Profile Picture
    4,792 Super User 2026 Season 2 on at
    First investigate the Custom API request/response metadata and yesterday's solution changes. If no metadata conflict is found, the next most likely explanation is
     
    a Dataverse OpenAPI metadata/cache or Microsoft-side platform issue.

    The new Power App should be investigated only for Dataverse customizations it introduced, not because the app itself was created.

    Preserve the working runtime, diagnose the Custom API metadata, and escalate to Microsoft Support if the metadata is clean. 
  • johnjohnPter Profile Picture
    2,082 Season of Giving Solutions 2025 on at
    @Haque thanks for the reply, so how i can check for this duplicate and remove it? switching between classic and modern UI will not solve the issue, but the modern UI is more comprehansive that it will show the exception i posted after 10 minutes of loading the action name
  • johnjohnPter Profile Picture
    2,082 Season of Giving Solutions 2025 on at
    @11manish thanks for the reply, so what is your recomendations before contacting MS? is there any check i can do? and what is causing this duplication errro? Thanks
  • Suggested answer
    Valantis Profile Picture
    7,545 Super User 2026 Season 2 on at
     
     
    An Microsoft support article confirms this exact message, An item with the same key has already been added, happens when a Dataverse entity or attribute is missing a Display Name or Plural Name.
    When the metadata pipeline builds a name keyed schema, in your case the OpenAPI schema generator building dynamic inputs for the action, multiple unnamed items collapse to the same blank key and the underlying dictionary throws exactly this exception on the duplicate insert.https://learn.microsoft.com/en-us/previous-versions/troubleshoot/dynamics/crm/an-item-with-same-key-has-been-added
     
    The fix:
    1. Go to make.powerapps.com, Tables, in the environment this flow runs in.
    2. Look for any table with a blank or missing Display Name, it usually sorts to the top since blank comes first alphabetically.
    3. Also check any columns added recently on tables tied to Planner or Project, a column missing a Display Name triggers the same thing.
    4. Give the missing item a proper Display Name and Plural Name if it's a table, then Save and Publish all customizations.
    5. Go back and try editing or saving the flow again.
     
    On the timing, this fits. If the other developer created a new table or column yesterday while building the Planner app and skipped the Display Name, that's exactly the kind of change that breaks schema generation for any action touching that entity, including your existing action, without anyone touching the flow itself.
     
     Best regards,

    Valantis  
    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/
    💼 LinkedIn   ▶️ YouTube
  • johnjohnPter Profile Picture
    2,082 Season of Giving Solutions 2025 on at
    @Valantis yes seems this is the issue, now we do not have any table with missing name:-

     
     
     
    how i can check for misisng columns that do not have names? do i have to check table by table?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard