Hi,
I'm trying to deploy a Flow/Power Automate solution that my developers have passed onto me. I'm trying to remove their accounts and use a service account. However when I get to one flow which starts with "When An Event Grid Subscription fires an event" and I attempt to change the user I get the following error:
Request to XRM API failed with error: 'Message: Flow client error returned with status code "Forbidden" and details "{"error":{"code":"MissingAdequateQuotaPolicy","message":"The user 'c68d49c3-849c-47b7-89d7-f70c719d4d11' does not have a service plan adequate for the non-Standard connection. https://go.microsoft.com/fwlink/?linkid=2123710"}}". Code: 0x80060467 InnerError: Type: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Message: Flow client error returned with status code "Forbidden" and details "{"error":{"code":"MissingAdequateQuotaPolicy","message":"The user 'c68d49c3-849c-47b7-89d7-f70c608d5d22' does not have a service plan adequate for the non-Standard connection. https://go.microsoft.com/fwlink/?linkid=2123710"}}". StackTrace: at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Update(Entity entity, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, Boolean checkForOptimisticConcurrency, Dictionary`2 optionalParameters) at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Update(Entity entity, UpdateOption updateOption) at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.UpdateEdmEntity(CrmODataExecutionContext context, String edmEntityName, String entityKeyValue, EdmEntityObject entityObject) at Microsoft.Crm.Extensibility.OData.EntityController.PatchEntityImplementation(String& entityName, String key, EdmEntityObject entityDelta) at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- 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__0.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__2.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__1.MoveNext() InternalException: '.
From searches I have done I understand that this error is related to licensing, however I have given the same licenses and apps to the service as that the developer who developed it has. The user also has Owner access to the Event Grid in question. Is anyone able to assist with this? The licenses/apps I have assigned are listed below:
Dynamics 365 Team Members
Microsoft Power Apps Plan 2 Trial
Office 365 E3
Power BI (free)
PowerApps and Logic Flows
Azure Rights Management
Common Data Service
Dynamics 365 for Team Members
Exchange Online (Plan 2)
Flow Free
Flow P2 Viral
Flow for Dynamics 365
Flow for Office 365
Information Protection for Office 365 Standard
Insights by MyAnalytics
Logic Flows
Microsoft 365 Apps for enterprise
Microsoft Forms Plan E3
Microsoft Kaizala Pro
Microsoft Planner
Microsoft Power Videos Baisc
Microsoft PowerApps
Microsoft Stream for O365 SKU
Microsoft Teams
Office for the web
Power BI Free
PowerApps Trial
PowerApps for Dynamics 365
Project Online Essentials
Sharepoint Online Plan 2
Skype for Business Online Plan 2
Sway
To Do Plan 2
Whiteboard Plan 2
Yammer Enterprise