HI All.
I am getting below error when i try to use the PCF Push. please let me know if any one encountered this issue.
I disabled the telemetry and also ensured the path variable is correctly pointed to build.
Sorry, the app encountered a non recoverable error and will need to terminate. The exception details have been captured and will be forwarded to the development team, if telemetry has been enabled. Exception Id: 96c0b575-8268-4ce0-9b57-7bf41c93c638, Exception Type: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]
The diagnostic logs can be found at: c:\Users\XXXXX\AppData\Roaming\Code\User\globalStorage\microsoft-isvexptools.powerplatform-vscode\pac\tools\logs\pac-log.txt
pac-log.txt
2023-11-20 18:45:23.2312 | ERR | Microsoft.PowerPlatform.Dataverse.Client.ServiceClient :: ************ FaultException`1 - Delete : Delete Request to Dataverse via IOrganizationService |=> The object you tried to delete is associated with another object and cannot be deleted. Deleting records from Publisher (ObjectTypeCode: 7101)
for Id(s) : 28dc7a78-3bc0-4159-a98d-7cb4c796e17d
Exception : Cascade Delete failed due to cascade restrict relation. Details below :
Restricting entity Solution (ObjectTypeCode: 7100) has Id: cc26ad51-f21a-ec11-b6e6-000d3a4dec26 and is collected by Relationship with name: publisher_solution.
Restricting entity Solution (ObjectTypeCode: 7100) has Id: fb6a4417-18fc-49fb-975a-a79368f6b933 and is collected by Relationship with name: publisher_solution.
i noticed something different.
I noticed that instead of powerappstools_prefix it is creating powerapptoolstemp_preifx during the wrapper creation.
Hi @tarakaram ,
The "pac install" command is available only for the standalone version of pac cli.
In VSCode it works only through the VSCode extnesion.
I just saw that the preview version is available in my VSCode
After that I get the pac cli v1.30.6, which fixes the issues.
Hope it helps!
HI Diana,
Can you please let me know how i can update cli in code. i noticed it is reflected in command prompt but not in visual studio code. when i try running the command "PAC install latest " in the command prompt of code i am getting error
C:\PCF\newControl>pac install latest
Microsoft PowerPlatform CLI
Version: 1.29.11+g9e2b163
Online documentation: https://aka.ms/PowerPlatformCLI
Feedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions
Error: Not a valid command. Try running 'pac [command] help'.
Hints:
Parse failed on: latest
Current command: install
Is this a known command? No, was it misspelled?
Is this a known argument? No, was it misspelled?
Was it quote wrapped? No, be sure to wrap values that contain spaces.
Hi @tarakaram ,
The "pac pcf push" issue is fixed with pac cli version 1.30.6. 😍
This will be available soon in VSCode too, but until then, you can use the standalone version of the pac cli.
Even the new parameter "--solution-unique-name" worked now. We can now specify which solution should be used. The publisher prefix is taken from the solution.
Hi @tarakaram ,
I think there is another solution, beside downgrading pac cli. In case it helps, I've wrote a blog: https://dianabirkelbach.wordpress.com/2024/01/16/how-to-fix-pac-pcf-push-issues-with-pac-cli-newer-than-1-28-3-publisher-error-or-solution-deleted/
Hi @tarakaram ,
I was helping a colleague today, and I saw the second error message you've posted.
It worked for him, when he downgraded the Power Platform tools even more (I think it was v2.0.11).
Maybe will help you too.
Just remember to reopen the VSCode (or terminal), otherwise the downgrade won't take effect,
Hope it helps!
Its just typo. It was working earlier not sure what caused it to fail
Hi @tarakaram ,
I don't have that issue... not sure how to help here.,
Maybe just to mention that it's "pac pcf push -pp <prefix>" (in your example above, the "-pp" is missing, but it's probably a typo in the message, not the real issue).
Thank you @DianaBirkelbach for your reply.
Yes i am using pac pcf push <publisher>
npm run build works fine.
Hi @tarakaram ,
Are you using "pac pcf push -pp <yourPublisher>" ?
Does "npm run build" work, without issues?
WarrenBelz
55
Most Valuable Professional
mmbr1606
42
Super User 2025 Season 1
Michael E. Gernaey
31
Super User 2025 Season 1