Quantcast
Channel: R&D Forums
Viewing all articles
Browse latest Browse all 9994

Veeam Backup for Microsoft 365 • Re: Powershell get all users and RBAC roles associated

$
0
0
Hi Matteu,

I'll reach out to our VB365 team, but as far as I know, there is currently no API or PowerShell cmdlet available to retrieve this configuration.
Could you share the use case for your script? Understanding why you need to retrieve this information would help us determine how we can best address your request or consider changes to the product in the future.

As a unsupported workaround:
Information about <Added Users>, <MFA Configuration>, and <Auto Log Off Settings> is stored in tables within the PostgreSQL database. In theory, you could run a SELECT query against the PostgreSQL database (the table names are self-explanatory), but we do not support direct interaction with the database.

The hostname of the PostgreSQL server can be found in the config.xml file:
"C:\ProgramData\Veeam\Backup365\Config.xml"

Code:

<Veeam>  <Archiver>    <ControllerPostgres ControllerConnectionString="host=HOSTNAME;port=5432;database=VeeamBackup365;username=postgres;MaxPoolSize=100;ConnectionIdleLifetime=10" />  </Archiver></Veeam>
Best,
Fabian

Statistics: Posted by Mildur — Aug 23, 2025 7:28 pm



Viewing all articles
Browse latest Browse all 9994

Latest Images

Trending Articles



Latest Images