I am testing a feature, so I exported it as unmanaged package.
And I deleted the solution.
After deleted it, I import the package, but I get a error.
I am testing a feature, so I exported it as unmanaged package.
And I deleted the solution.
After deleted it, I import the package, but I get a error.
From the error message, I think your issue is related to your environment variables in your solution.
Removed the environment variables from your solution:
{
"EnvironmentVariableValues":
[
{
"EnvironmentVariableValueId":
"xxxxxxxxxxxxxxxxxxxx",
"Value":
"x"
}
]
}
Enter new values while importing solutions
The modern solution import interface includes the ability to enter values for environment variables. This sets the value property on the environmentvariablevalue entity.
You will not be prompted if the environment variables already have either a default value or value present; whether values are part of your solution or are already present in Common Data Service.
Note
You may remove the value from your solution before exporting the solution. This ensures the existing value will remain in your development environment, but not get exported in the solution. This approach allows a new value to be set while importing the solution into other environments.
Ref: https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/environmentvariables
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,387
Most Valuable Professional
nmaenpaa
101,156