Maintain control of your Microsoft 365 data
Post Reply
moh@dhigroup.com
Enthusiast
Posts: 25
Liked: 4 times
Joined: Jun 04, 2020 6:55 pm
Full Name: Morten Hemmingsen
Contact:

Split OneDrive job based on a Security Group

Post by moh@dhigroup.com »

RIght now I have a single OneDrive backup job based on a security group. This group include all of our 1200 users who have a O365 license.
I'm really struggling to get the first OneDrive backup done. I would like to split up the OneDrive job based on this security group. For example, a job for the users with first name from A-D, E-H, I-L, etc. But it should only be the users who are member of the O365 license security group.
Does anyone know how to do that?
/Morten
nielsengelen
Product Manager
Posts: 5619
Liked: 1177 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Split OneDrive job based on a Security Group

Post by nielsengelen » 1 person likes this post

Hi Morten,

I guess the only way to do this is by using some PowerShell script for now where you check the O365 group and take everyone from A-D etc and put them in a backup job.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
Mike Resseler
Product Manager
Posts: 8044
Liked: 1263 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Split OneDrive job based on a Security Group

Post by Mike Resseler » 1 person likes this post

I agree with Niels here. Once you get past that first backup, I believe it won't be an issue anymore. Another approach would be to select the first 250 based on alphabet manually. Once that is done, add another 250 so that the first 250 will be incremental, and the next full... And so on until you get all of them
moh@dhigroup.com
Enthusiast
Posts: 25
Liked: 4 times
Joined: Jun 04, 2020 6:55 pm
Full Name: Morten Hemmingsen
Contact:

Re: Split OneDrive job based on a Security Group

Post by moh@dhigroup.com »

Thanks for the answers.
I know veeam has this PS command:
Get-VBOOrganizationUser -Organization $org -DisplayName "A*" -Type User -NotInJob

My problem is, I want to look for users from a security group within the organization, not the whole organizaion.
I want to do that because only users in that security group should use a Veeam license and only these users have a Office365 license assigned.
Is that possible?
nielsengelen
Product Manager
Posts: 5619
Liked: 1177 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Split OneDrive job based on a Security Group

Post by nielsengelen » 1 person likes this post

You will have to connect to O365 via their PowerShell modules (AzureAD one) and get the group info. Afterward, you can mix and match it with Veeam's PowerShell.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
moh@dhigroup.com
Enthusiast
Posts: 25
Liked: 4 times
Joined: Jun 04, 2020 6:55 pm
Full Name: Morten Hemmingsen
Contact:

Re: Split OneDrive job based on a Security Group

Post by moh@dhigroup.com »

OK thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests