Maintain control of your Microsoft 365 data
Post Reply
track1044
Novice
Posts: 3
Liked: never
Joined: Apr 07, 2025 8:52 am
Full Name: David Wellendorf
Contact:

Issue with powershell command (Get-VBOBackupApplication)

Post by track1044 »

Hello,

We are currently in the process of doing some internal changes to our Multi-tenant VBO365 setup.
The environment will be completely fresh with a fresh install and fresh repos. Data will be migrated as well, as it is moving from Block Storage to Object Storage.

To this end I have been begun working on a ps script to automate as much as this move as possible, mainly the backup jobs, but I am having issues with the command "Get-VBOBackupApplication".
This command never returns anything, even if I pass the cert thumbprint or the applicationID itself. The ApplicationID is visible in the GUI of Veeam and adding the correct cert within Veeam allows connection to the tenant with no issues.
"Get-VBOApplication" returns all applications on the tenant it seems.

Is there some settings or parameter I am missing? I would love to grab the appID within the script, so it doesn't have to done manually for all tenants.

Thank you.
track1044
Novice
Posts: 3
Liked: never
Joined: Apr 07, 2025 8:52 am
Full Name: David Wellendorf
Contact:

Re: Issue with powershell command (Get-VBOBackupApplication)

Post by track1044 »

I have been trying to test this command on different a few different installations (pods, multitenant) we have, and I can never get it to return a result.
So far now it seems there is no way to actually fetch the AppID used to connect to the m365 tenant with Veeams powershell commands.

It is possible to create new connection with < New-VBOOffice365ApplicationOnlyConnectionSettings > and alter one with < Set-VBOOffice365ApplicationOnlyConnectionSettings >
Mildur
Product Manager
Posts: 10355
Liked: 2771 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Issue with powershell command (Get-VBOBackupApplication)

Post by Mildur » 1 person likes this post

Hi David

Have you tried this:

Code: Select all

Get-VBOOrganization | select Name -ExpandProperty Office365ExchangeConnectionSettings | select Name,ApplicationId 
Best,
Fabian
Product Management Analyst @ Veeam Software
track1044
Novice
Posts: 3
Liked: never
Joined: Apr 07, 2025 8:52 am
Full Name: David Wellendorf
Contact:

Re: Issue with powershell command (Get-VBOBackupApplication)

Post by track1044 »

Thank you, Fabian.

That was exactly what I was looking for and the last place I was looking for it, for some reason.
This correctly pulls out the AppID used by the Organization in Veeam to connect to the M365 tenant.
Post Reply

Who is online

Users browsing this forum: mnordstr and 59 guests