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

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Async Plugin Error: Expected non-empty Guid. Parameter name: user

Like (0) ShareShare
ReportReport
Posted on 27 Sep 2022 11:38:53 by 13

I created a new plugin using the latest version of 'pac plugin init'.  No matter what actual logic is defined in the plugin.  (Even if it's just writing a string to the trace log.)  When I run the plugin Post Operation Async it's throwing an error in the System Jobs log.  If the plugin runs Post Op Sync or PreValidation/PreOperation it runs fine.  It seems to be failing even before it creates the instance of LocalPluginContext.

 

<Message>System.ArgumentException: Expected non-empty Guid.
Parameter name: user</Message>

 

Any thoughts?

I have the same question (0)
  • Andrew7 Profile Picture
    Microsoft Employee on 28 Sep 2022 at 01:02:43
    Re: Async Plugin Error: Expected non-empty Guid. Parameter name: user

    I just created simple plugin using "pac plugin init" and added it to account create as PostOperation Async and it worked fine when I run profiler. Which message and entity did you use in your case?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 892 Most Valuable Professional

#2
Power Apps 1919 Profile Picture

Power Apps 1919 356

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 310 Super User 2025 Season 2

Last 30 days Overall leaderboard