MicrosoftDocs / Windows-Admin-Center-Ideas-and-Feedback

Windows Admin Center's hub for ideas and feedback.
Creative Commons Attribution 4.0 International
20 stars 9 forks source link

[Role Based Access Management] - Error when applying RBAC Rules #62

Open ghost opened 2 years ago

ghost commented 2 years ago

Gateway Version: 2110 Build 1.3.2111.01001 Extension Version N/A

To Reproduce Steps to reproduce the behavior:

  1. Go to a new added Server (added via shared connections)
  2. Click on Settings at the bottom
  3. Select 'Role Based Accrdd Control"
  4. Click on Apply
  5. Observe Error: Couldn't apply role-based access control to the computer. Error: Der Befehl „Microsoft.SME.Security\Get-Cluster“ ist nicht eindeutig. Der Befehl wurde aus „C:\ProgramData\Server Management Experience\Ux\modules\msft.sme.security\powershell-module\Microsoft.SME.Security\Microsoft.SME.Security.psm1“, wird jedoch erneut aus „C:\ProgramData\Server Management Experience\Ux\modules\microsoft.security\powershell-module\Microsoft.SME.Security\Microsoft.SME.Security.psm1“ importiert.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots & Additional context After updating WAC to 2110, I wanted to add two more Servers. Both servers experience the same issue. In engish the error message is something like:

Error: the command ... is not unique. The Command from C:\Progra.... is re-imported from C:\Progr.....

image image

ghost commented 2 years ago

Any Idea? I tried to use a manual config file for the target server, but the export is not working. Is there a way to get the RBAC Script for the target server so it can be created manually?

mlinar79 commented 2 years ago

My Error.

"Couldn't apply role-based access control to the computer. Error: The command 'Microsoft.SME.Security\Get-Cluster' is ambiguous. The command was imported from 'C:\ProgramData\Server Management Experience\Ux\modules\msft.sme.security\powershell-module\Microsoft.SME.Security\Microsoft.SME.Security.psm1', but is being imported again from 'C:\ProgramData\Server Management Experience\Ux\modules\microsoft.security\powershell-module\Microsoft.SME.Security\Microsoft.SME.Security.psm1'."

image

Windows 11 Pro

WAC: Version 2110 Build 1.3.2111.01001 note: host is under Windows ATP monitoring (Defender for Endpoint )