I have Win10 and Win11 managed devices via Intune and for admin tasks, I use additional accounts which has AzureAD role assigned like Device Local Administrators. In Win10, elevating admin rights and executing run as admin works fine, in Win11 it doesn't. In Windows 11, after couple of tries entering admin credits via UAC, I get:
"The application cannot be started for the target user. Please login as the user and explicitly install this package."
So that terminal command line must be installed seperetly or something? Is this a bug?

