Maintain control of your Microsoft 365 data
Post Reply
dmaunder
Influencer
Posts: 12
Liked: never
Joined: Nov 21, 2018 2:35 pm
Full Name: Daryl Maunder
Contact:

Adding organisation failing

Post by dmaunder »

I am trying to add an organisation on a new organisation on a fresh install of Windows 10 x64. I believe I have followed all the prerequisites.

When I run the Add Organisation wizard, it fails on the Connect to Power Shell line with the following error

[Window Title]
VEEAM BACKUP FOR MICROSOFT OFFICE 365

[Content]
Failed to execute cmdlet: Get-OrganizationConfig.
Please check permissions required for product operation (see Prerequisites section in the user guide).
The term 'Get-OrganizationConfig' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

[OK]
Polina
Veeam Software
Posts: 2939
Liked: 681 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Adding organisation failing

Post by Polina »

Hi Daryl,

Wich product version are you using? Are you adding an Office 365 organization or a hybrid deployment?
For an Office 365 org, please ensure your service account meets all the required permissions for Exchange, including the Organizations Configuration role.
dmaunder
Influencer
Posts: 12
Liked: never
Joined: Nov 21, 2018 2:35 pm
Full Name: Daryl Maunder
Contact:

Re: Adding organisation failing

Post by dmaunder »

Using Veeam Backup for Office 365 on an Office 365 tenant.

What is the exact powershell command to add the Organizations Configuration role?
Polina
Veeam Software
Posts: 2939
Liked: 681 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Adding organisation failing

Post by Polina »

You can assign this role either by using New-ManagementRoleAssignment cmdlet or by adding the required account to the Organization Management group via the Office 365 admin center.

Thanks!
BrunoNovo
Novice
Posts: 8
Liked: never
Joined: Aug 05, 2019 12:18 pm
Full Name: Bruno Vander Plaetse
Contact:

Re: Adding organisation failing

Post by BrunoNovo »

My case ID is ID# 03697824
arjenfurster
Novice
Posts: 3
Liked: 1 time
Joined: Nov 28, 2019 2:28 pm
Full Name: Arjen Furster
Contact:

Re: Adding organisation failing

Post by arjenfurster »

I experience the same issue. Did you found a solution?
Polina
Veeam Software
Posts: 2939
Liked: 681 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Adding organisation failing

Post by Polina »

Hi Arjen and welcome to the Community!

If you're running VBO v3, please open a support call to get the fix. (kindly take a minute to post your case ID here)

Thanks!
arjenfurster
Novice
Posts: 3
Liked: 1 time
Joined: Nov 28, 2019 2:28 pm
Full Name: Arjen Furster
Contact:

Re: Adding organisation failing

Post by arjenfurster »

Hi Polina, I'm running VBO v4 and got this error.

I'm evaluating the software I'm not a customer yet. If it works as expected/required (since blob storage support it's on the projectlist again), I will onboard a 3000+ users customer. And as an MSP we will onboard a lot of more customers.

I've created support case 03893799

Error message: https://ibb.co/SQfkNtv

Because of MFA requirement we use Modern Auth.
Polina
Veeam Software
Posts: 2939
Liked: 681 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Adding organisation failing

Post by Polina »

Arjen,

Please make sure to grant all the required permissions to your service account as described here (for Exchange Online) and here (for SharePoint Online). This should help to resolve the problem.

Thanks!
arjenfurster
Novice
Posts: 3
Liked: 1 time
Joined: Nov 28, 2019 2:28 pm
Full Name: Arjen Furster
Contact:

Re: Adding organisation failing

Post by arjenfurster » 1 person likes this post

Indeed the solution was to not only add the Impersontation role to the Exchange Online Role Group where my Veeam serviceaccount was member of, but also the Role Management, Organization Configuration, View-Only Configuration, View-Only Recipients and Mailbox Search roles!
deerninja
Novice
Posts: 3
Liked: never
Joined: Jan 13, 2020 5:51 pm
Contact:

Re: Adding organisation failing

Post by deerninja »

I'm getting this same error with V.4. We are also evaluating the software. We do not have hosted Exchange but only SharePoint on O365. The issue that I am finding with the documentation and prerequisites is that there are a couple of permissions required for roles that do not exist, those roles seem to be available only if you have the Exchange hosting.
Polina
Veeam Software
Posts: 2939
Liked: 681 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Adding organisation failing

Post by Polina »

Hi deerninja and welcome to Veeam Forums!

If assigning granular permissions is not available, you can use the Global Administrator role.
deerninja
Novice
Posts: 3
Liked: never
Joined: Jan 13, 2020 5:51 pm
Contact:

Re: Adding organisation failing

Post by deerninja »

thank you, i will give that a go!
deerninja
Novice
Posts: 3
Liked: never
Joined: Jan 13, 2020 5:51 pm
Contact:

Re: Adding organisation failing

Post by deerninja »

ok, that got me through the Microsoft Graph connections. Now I'm facing the following error:
Connect to PowerShell: Connecting to remote server outlook.office365.com failed with the following error message: access is denied

any further ideas?
Polina
Veeam Software
Posts: 2939
Liked: 681 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Adding organisation failing

Post by Polina »

Are the legacy protocols allowed in your tenant? Kindly, take a look at this thread with a similar discussion.
Jonathan
Enthusiast
Posts: 81
Liked: 5 times
Joined: Oct 15, 2009 8:52 am
Contact:

Re: Adding organisation failing

Post by Jonathan »

arjenfurster wrote: Dec 04, 2019 8:56 pm Indeed the solution was to not only add the Impersontation role to the Exchange Online Role Group where my Veeam serviceaccount was member of, but also the Role Management, Organization Configuration, View-Only Configuration, View-Only Recipients and Mailbox Search roles!
Thanks Arjen, this worked for us as well!
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests