Closed msanftenberg closed 1 month ago
Hi @msanftenberg, can you please post your changes to the mobileconfig as code?
Seems that the Code section seems not to work write. Attached is all as TXT. Privileges_2-0_Testing.txt
@msanftenberg You have configured the ReasonRequired
and ReasonMinLength
keys so that the user is forced to enter a reason with a minimum of 20 characters and a maximum of 50 characters according to ReasonMaxLength
. After entering the reason, the button remains grayed out?
Tip for next time: Code which is multiline needs to be encapsulated by ```
before and after ```
the code.
Thanks for the Tip. I'm not even getting the question to request the admin rights. @
@msanftenberg Ah got it, you have set EnforcePrivileges
to user
. Just remove this key from your config.
Thanks. Even after removal sadly not working. Same as before that I'll can't right click and "Request Privileges"
@msanftenberg Why do you want to right-click? Just left-click as usual and authenticate by fingerprint sensor or password as intended. Have you read the comments in the example profile?
I did tried. If I left click it, I can shortly see that it seems a window opens but nothing then happens.
@msanftenberg I should have asked first:
@msanftenberg
key: ReasonRequired
value: a boolean
When set to true, the user must provide a reason for requesting administrator privileges.
The reason is logged. Note that once this option is enabled, privileges cannot be changed
from the Privileges Dock tile menu.
So it is expected behavior that the Dock item's "Request Privileges" entry is grayed-out as soon as you require the user to enter a reason. Hope this helps.
When we install the sample configuration profile from within the resources folder and modify this to our needs the expected changes are not happening. When the profile is been deployed the "Request Privileges" is been grayed out. As soon as the profile is going to be removed "Request Privileges" is available and Privileges can be switched.