PowerShell script exchange
Post Reply
JasonOrchardIMNZ
Service Provider
Posts: 13
Liked: 13 times
Joined: Apr 14, 2025 12:38 am
Full Name: Jason Orchard
Contact:

Bug: Add-VBRUserRoleAssignment in V13 doesn't seem to support adding loacal or domain group.

Post by JasonOrchardIMNZ »

Bug: Add-VBRUserRoleAssignment in V13 doesn't seem to support adding domain or group.
https://helpcenter.veeam.com/docs/vbr/p ... tml?ver=13

Testing my lab I’ve found that this cmdlet, only worked when I used a “user name”, it didn’t work when I tried to add a local group/domain group.

When i treid to add a group either a local group or domain group it retuned the error message.

example command i entered
    Add-VBRUserRoleAssignment -Name TESTGROUP -Role BackupOperator
    error message
      "Add-VBRUserRoleAssignment: Cannot find user with the specified name: TESTGROUP."
      david.domask
      Product Manager
      Posts: 3617
      Liked: 874 times
      Joined: Jun 28, 2016 12:12 pm
      Contact:

      Re: Bug: Add-VBRUserRoleAssignment in V13 doesn't seem to support adding loacal or domain group.

      Post by david.domask »

      Hi Jason,

      Just to confirm, does the group already exist in the Roles and Users section or you're trying to use it to add a new user with specific roles assigned?

      The cmdlet is about assigning roles to Users / Groups added, though I see that it doesn't seem to find my test group either when added already, that part let me confirm on, but can you please confirm if you're trying to add a role to an existing user / group or add a new entry in the Roles / Users section.
      David Domask | Product Management: Principal Analyst
      Post Reply

      Who is online

      Users browsing this forum: Semrush [Bot] and 46 guests