veronicageek/O365-Data-Retriever-Tool

Export-csv Global Admins list returning error

veronicageek opened this issue · 1 comments

Issue with 'RoleObjectId' when trying to to export the GA list

Get-MsolRoleMember : Cannot bind parameter 'RoleObjectId' to the target. Exception setting "RoleObjectId":
"Cannot convert null to type "System.Guid"."
At S:\O365DataRetriever\O365DataRetriever.ps1:945 char:55

  • ... (Get-MsolRoleMember -RoleObjectId $GARoleObjectId) | Sele ...
  •                                               ~~~~~~~~~~~~~~~
    
    • CategoryInfo : WriteError: (:) [Get-MsolRoleMember], ParameterBindingException
    • FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.Online.Administration.Automation.GetRoleMember

ga_issue

Fixed in version 0.1.1