Maintain control of your Microsoft 365 data
Post Reply
cfizz34
Expert
Posts: 128
Liked: 14 times
Joined: Jul 02, 2010 2:57 pm
Full Name: Chad
Contact:

[Feature Request] Dynamically add shared mailboxes

Post by cfizz34 » 1 person likes this post

I would like the ability to have shared mailboxes dynamically added to my backup job.
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by nielsengelen »

Hi, your request is noted. For now, you can use a PowerShell script as a workaround.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
cfizz34
Expert
Posts: 128
Liked: 14 times
Joined: Jul 02, 2010 2:57 pm
Full Name: Chad
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by cfizz34 »

Any suggestion on how to accomplish this via powershell if I have various backup jobs separated by last name into buckets like A-C, D-E, and the such and if their office is set to %term%. I have limited options via the UI on the AD attributes to use, so that is why I am using office at this time.
cfizz34
Expert
Posts: 128
Liked: 14 times
Joined: Jul 02, 2010 2:57 pm
Full Name: Chad
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by cfizz34 »

What are all the attributes or fields I have available to me via the powershell scripts to inject a user dynamically into a specific job? I only see these:

OrganizationId
OfficeId
OnPremisesId
DisplayName
UserName
Type
Mildur
Product Manager
Posts: 9848
Liked: 2607 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by Mildur » 2 people like this post

You can query all shared mailboxes with a „exchange online shell“ get-mailbox -RecipientTypeDetails SharedMailbox command and pipe the result in the vbo365 commands.
Product Management Analyst @ Veeam Software
johannesk
Expert
Posts: 159
Liked: 37 times
Joined: Jan 19, 2016 1:28 pm
Full Name: Jóhannes Karl Karlsson
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by johannesk » 1 person likes this post

Vote from me for this RFE.
johannesk
Expert
Posts: 159
Liked: 37 times
Joined: Jan 19, 2016 1:28 pm
Full Name: Jóhannes Karl Karlsson
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by johannesk » 1 person likes this post

Mildur wrote: Sep 13, 2020 3:19 pm You can query all shared mailboxes with a „exchange online shell“ get-mailbox -RecipientTypeDetails SharedMailbox command and pipe the result in the vbo365 commands.
Actually, it's possible to do this without get-mailbox, use Get-VBOOrganizationUser instead.

This script can be used to modify existing job, by updating it with current share mailboxes.

Code: Select all

Import-Module Veeam.Archiver.PowerShell

Connect-VBOServer -Server <VBOserver>

$job = Get-VBOJob -Name "SharedMailbox"

$org = Get-VBOOrganization -Name "company.onmicrosoft.com"

$sharedmailboxes = Get-VBOOrganizationUser -Organization $org -type SharedMailbox 

$backupitem = New-VBOBackupItem -User $sharedmailboxes -Mailbox -ArchiveMailbox

Set-VBOJob -job $job -SelectedItems $backupitem

Disconnect-VBOServer
cfizz34
Expert
Posts: 128
Liked: 14 times
Joined: Jul 02, 2010 2:57 pm
Full Name: Chad
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by cfizz34 »

Any plans to add this into the UI instead?
Polina
Veeam Software
Posts: 3195
Liked: 774 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by Polina »

Hi Chad,

Not at this moment, but we're collecting the feedback.
aheath
Influencer
Posts: 13
Liked: never
Joined: May 09, 2019 1:56 pm
Full Name: Ashley Heath
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by aheath »

Would be a really nice feature to have in the UI
falkob
Veeam Vanguard
Posts: 86
Liked: 31 times
Joined: Sep 28, 2017 7:47 am
Full Name: Falko Banaszak
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by falkob »

Would also love to see that in the wizard, count me in +1 for that feature please :) !
VCP6.5-DCV, VCP6-DCV, VMCE, VMCA, Veeam Vanguard, VMware vExpert
https://www.virtualhome.blog
Mike Resseler
Product Manager
Posts: 8191
Liked: 1322 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: [Feature Request] Dynamically add shared mailboxes

Post by Mike Resseler »

The problem is that this doesn't work with the Full MFA method as we cannot query the usertype at this point in time. MSFT is aware of this and a beta of this API is now in testing, but it still can take some time before that is GA. Once that is GA, we can look into this further
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests