Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Dynamics Portal- fails to insert record with this nonexistant userid a8985ed4-0653-e911-a96d-001dd80081ad

Posted on by 10

"RequestData:, RequestPath:/inquiry-create-web-form/, RequestExtension:, SessionId:hrfk0jxmsu4gamcnzcsl3dwt, UserId:DJ_A0jcJrDAQ68FGEF8jk1xExGnb37a5EVnCXV5ZLBXraRj8Ac1UxQSmgMgX70nFFnXGyHonUfE5b7y9h-FqdBxy8409wtbQtUjig4pdVEORQd3m1aKy4SUD3IWN4aJKYKmePmhlfwOl13gkXnm0Fw2,
CorrelationId:312c3e22-982f-47d9-8efa-e6c9c455a8ce, Elapsed:713.6731,
RequestMethod:POST, RequestContentType:application/x-www-form-urlencoded,
RequestAccept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9, RequestCacheControl:max-age=0, UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36 Edg/87.0.664.52, HandlerName:ASP.pages_webtemplate_aspx, HandlerExecuted:False, VaryByCustom:user;website;language, MemberName:TryParseErrorMessage,
SourceFilePath:S:\Framework\Adxstudio.Xrm\Web\UI\WebControls\LiquidServerControl.cs,
SourceLineNumber:337, ExceptionMessage:An error occured while processing this request.
Microsoft.Xrm.Sdk.SaveChangesException
at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.SaveChanges(SaveChangesOptions options)
at Adxstudio.Xrm.Web.UI.WebControls.CrmDataSourceView.ExecuteInsert(IDictionary values) in S:\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmDataSourceView.cs:line 754

Microsoft.Xrm.Sdk

SecLib::CrmCheckPrivilege failed. Returned hr = -2147220943 on UserId: a8985ed4-0653-e911-a96d-001dd80081ad and PrivilegeType: Read
System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Client.Services.OrganizationService.InnerOrganizationService.UsingService[TResult](Func`2 action) in S:\Framework\Microsoft.Xrm.Client\Services\OrganizationService.cs:line 443
at Adxstudio.Xrm.Services.CachedOrganizationService.InnerExecute(OrganizationRequest request) in S:\Framework\Adxstudio.Xrm\Services\CachedOrganizationService.cs:line 415
at Adxstudio.Xrm.Services.OrganizationServiceCache.InnerExecute[TRequest,TResponse,TResult](TRequest query, Func`2 execute, Func`2 selector) in S:\Framework\Adxstudio.Xrm\Services\OrganizationServiceCache.cs:line 653
at Adxstudio.Xrm.Services.OrganizationServiceCache.InnerExecute[TRequest,TResponse,TResult](TRequest request, Func`2 execute, Func`2 selector, String selectorCacheKey) in S:\Framework\Adxstudio.Xrm\Services\OrganizationServiceCache.cs:line 323
at Adxstudio.Xrm.Services.ContentMapOrganizationServiceCache.Execute[T](OrganizationRequest request, Func`2 execute, Func`2 selector, String selectorCacheKey) in S:\Framework\Adxstudio.Xrm\Services\ContentMapOrganizationServiceCache.cs:line 36
at Adxstudio.Xrm.Services.PortalBusOrganizationServiceCache.Execute[T](OrganizationRequest request, Func`2 execute, Func`2 selector, String selectorCacheKey) in S:\Framework\Adxstudio.Xrm\Services\PortalBusOrganizationServiceCache.cs:line 44
at Adxstudio.Xrm.Services.CachedOrganizationService.Execute[T](OrganizationRequest request, Func`2 selector, String selectorCacheKey) in S:\Framework\Adxstudio.Xrm\Services\CachedOrganizationService.cs:line 367
at Adxstudio.Xrm.Services.CachedOrganizationService.Execute[T](OrganizationRequest request) in S:\Framework\Adxstudio.Xrm\Services\CachedOrganizationService.cs:line 358
at Adxstudio.Xrm.Services.CrmOnlineOrganizationService.<>c__DisplayClass27_0.<Execute>b__0() in S:\Framework\Adxstudio.Xrm\Services\CrmOnlineOrganizationService.cs:line 241
at Microsoft.Practices.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.Execute(OrganizationRequest request)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.SaveChange(OrganizationRequest request, IList`1 results)

mscorlib

, EventData:"

  • Suggested answer
    oliver.rodrigues Profile Picture
    oliver.rodrigues 4,052 on at
    RE: Dynamics Portal- fails to insert record with this nonexistant userid a8985ed4-0653-e911-a96d-001dd80081ad

    We highly recommend users to migrate to PowerUsers community for new Portal questions:

    powerusers.microsoft.com/.../PowerAppsPortals

    Hi, do you know which user your portal was provisioned? by any chance did you remove or changed privileges/roles for that user? is that an On-Prem ADX portals or online portals?

    the portal should run under an Admin/System user

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics Portal- fails to insert record with this nonexistant userid a8985ed4-0653-e911-a96d-001dd80081ad

    Hi partner,

    Can you provide description about what you need do in the portal, and which step you meet the current error.

    If possible, can you provide screenshot about it without any personal information.

    Regards,

    Leah Ju

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans