Maintain control of your Microsoft 365 data
Post Reply
matteu
Veeam Legend
Posts: 824
Liked: 128 times
Joined: May 11, 2018 8:42 am
Contact:

Issue with Get-VBOBackupApplication

Post by matteu »

Hello,

I would like to get the certificate details of the Azure application.
If I understand it correctly, for this I need to perform these task :

$org = Get-VBOOrganization
Get-VBOBackupApplication -Organization $org

However, when I do it, I don't have any result.

I use M365 online and modern app only.
Polina
Veeam Software
Posts: 3268
Liked: 790 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Issue with Get-VBOBackupApplication

Post by Polina »

Hi matteu,

You get certificate thumbprint with the following:

$org = Get-VBOOrganization
$org.Office365ExchangeConnectionSettings
$org.Office365SharePointConnectionSettings
matteu
Veeam Legend
Posts: 824
Liked: 128 times
Joined: May 11, 2018 8:42 am
Contact:

Re: Issue with Get-VBOBackupApplication

Post by matteu »

Thanks for your answer.

OK, Get-VBOBackupApplication is for auxiliary backup.

Then, when I use :
$org = Get-VBOOrganization
$org.Office365ExchangeConnectionSettings

I have the cert thumbprint but I don't have expiration date as I can have with (Get-VBOOperatorAuthenticationSettings).CertificateExpirationDate
Is there a way to find the cert expiration date with Veeam cmdlet ?

I know I can find it with this if Veeam doesn't have native cmdlet :

Code: Select all

$org = Get-VBOOrganization

foreach ($obj in $org)
{
    $Cert = $obj.Office365ExchangeConnectionSettings.ApplicationCertificateThumbprint
    $Expiration = Get-ChildItem -Path Cert:\LocalMachine\My | Where-Object {$_.Thumbprint -eq $Cert}
    $Expiration.NotAfter.ToUniversalTime().ToString("yyyy/MM/dd")
}
Polina
Veeam Software
Posts: 3268
Liked: 790 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Issue with Get-VBOBackupApplication

Post by Polina »

To the best of my knowledge, Veeam cmdlets do not provide it.
Post Reply

Who is online

Users browsing this forum: gabrieldd, karsten123 and 17 guests