I try to add RBAC permission to restore portal and I find 2 issues :
1) Documentation is not up to date : https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=60
Example use :
Code: Select all
$Group = Get-VBOOrganizationGroup -Organization $org -Name "HelpDeskAgents"
Code: Select all
$Group = Get-VBOOrganizationGroup -Organization $org -Name "HelpDeskAgents"
needs to be replace to
$Group = Get-VBOOrganizationGroup -Organization $org -DisplayName "HelpDeskAgents"
Code: Select all
$org = Get-VBOOrganization -Name "myOrganizationName"
$Group = Get-VBOOrganizationGroup -Organization $org -Name "HelpDeskAgents"
$restoreoperator = New-VBORbacOperator -Group $Group
Add-VBORbacRole -Organization $org -Name "ABC Restore Operators" -Operators $restoreoperator -EntireOrganization
Code: Select all
Add-VBORbacRole : Specified cast is not valid.
Raw:4 : 1
+ Add-VBORbacRole -Organization $org -Name "ABC Restore Operators" -Ope ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-VBORbacRole], FaultException
+ FullyQualifiedErrorId : System.ServiceModel.FaultException,Veeam.Archiver.PowerShell.Cmdlets.Rbac.AddVBORbacRole