-
- 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
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
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
-
- 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
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.
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
GitHub: https://github.com/nielsengelen
-
- 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
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
-
- 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
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?
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?
-
- 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
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
GitHub: https://github.com/nielsengelen
-
- Enthusiast
- Posts: 25
- Liked: 4 times
- Joined: Jun 04, 2020 6:55 pm
- Full Name: Morten Hemmingsen
- Contact:
Who is online
Users browsing this forum: No registered users and 22 guests