I have IIS user and run under on him -postSync:runCommand
.
The command includes call for dotnet.exe
and dll app with the migrations to db. `
I've created Rule (runCommand) in IIS/Management Service Delegation
. For that I appointed a user from the admin group and set path "C:\Windows\System32"
for cm. I tried different options: {userScope}
, the dotnet and dll path but it didn't help me.
I tried call simple cmd and appcmd command and it works.