如何解决MS Office 365(V5)设置问题(添加组织)的Veeam备份?

发布于 2025-01-28 07:31:36 字数 4012 浏览 4 评论 0原文

大约6个月前,我成功地为Microsoft Office 365设置了Veeam备份的试用版(自从更名为Microsoft 365的Veeam Backup,具有新的主要版本,并且是CPU要求的两倍)。

客户端仍然需要具有V5版本(由于他们的服务器缺少所需的8个内核来支持新的V6版本)。

我现在正在尝试再次设置该软件,而我正在大门跌跌撞撞。当我尝试“添加组织”时,使用相同的(Office 365)Global Admin用户连接到M365组织,我用来创建原始测试,以及用于身份验证(基本)等相同的设置选择。现在返回:

2022-05-11 8:57:13 PM :: Connect to Microsoft Graph: unknown_user_type: Unknown User Type
2022-05-11 8:57:13 PM :: Connect to EWS: The request failed with HTTP status 401: . :: 0:00:03
2022-05-11 8:57:17 PM :: Connect to SharePoint: unknown_user_type: Unknown User Type
2022-05-11 8:57:18 PM :: Connect to PowerShell: Connecting to remote server outlook.office365.com failed with the following error message : Access is denied. :: 0:00:03

我发现这是设置一个专用用户的Veeam备份的好时机,因此我现在拥有一个新的全球管理员,其角色和权限与原始的和Office的基本许可证完全相同。与此用户建立连接(

2022-05-11 9:00:53 PM :: Connect to EWS: The request failed with HTTP status 401: .
2022-05-11 9:00:56 PM :: Connect to PowerShell: Connecting to remote server outlook.office365.com failed with the following error message : Access is denied. :: 0:00:08

我无法在Veeam社区网站上找到故障排除信息的方式(我正在尝试使用社区版本,我在12月下载了)。我无法使用Veeam开设支持票,因为这需要申请中的许可证信息,而且销售人员无法为我生成第二个V5试用许可证。

因此 - 任何指导/想法都欢迎。

我已经审查了文档中的所有先决条件(无论如何,我所知道的任何东西都在服务器上发生了变化)。我使用新的VBO@...凭据重复了我的设置注释中的所有PowerShell步骤。

我可以成功登录到 https://office.microsoft.com 与新用户一起发送和发送和接收电子邮件,在SharePoint中工作,从GUI中管理所有应用程序,依此类推。

使用 Microsoft Connectivity Tester 但是,导致失败。这是服务帐户访问(开发人员)测试:


Exchange Web Services service account access verification
The Microsoft Connectivity Analyzer failed to complete all tests with the service account.
Test Steps

The Microsoft Connectivity Analyzer is attempting to test Autodiscover for [email protected].
Autodiscover was tested successfully.

Attempting to resolve the host name outlook.office365.com in DNS.
The host name resolved successfully.

Testing TCP port 443 on host outlook.office365.com to ensure it's listening and open.
The port was opened successfully.

Testing the SSL certificate to make sure it's valid.
The certificate passed all validation requirements.

A new mail item is being created.
The attempt to create a mail item failed.

Additional Details
Exception details:
Message: The request failed. The remote server returned an error: (401) Unauthorized.
Type: Microsoft.Exchange.WebServices.Data.ServiceRequestException
Stack trace:
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
   at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
   at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalCreateItems(IEnumerable`1 items, FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode, ServiceErrorHandling errorHandling)
   at Microsoft.Exchange.WebServices.Data.Item.InternalCreate(FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode)
   at Microsoft.Exchange.WebServices.Data.Item.Save(FolderId parentFolderId)
   at Microsoft.M365.RCA.ConnectivityTests.CreateItemTest.PerformTestReally()

Exception details:
Message: The remote server returned an error: (401) Unauthorized.
Type: System.Net.WebException
Stack trace:
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)

about 6 months ago, I successfully set up a trial version of Veeam Backup for Microsoft Office 365 (since renamed Veeam Backup for Microsoft 365, with a new major version, and double the CPU requirements).

The client still needs to have the v5 version (due to the fact that their server lacks the requisite 8 cores to support the new v6 release).

I am now attempting to set up the software once again, and I am stumbling out of the gate. When I attempt to "Add Organization", connecting to the M365 organization using the same (office 365) global admin user I used to create the original test, and the same setup choices for authentication (Basic), etc. now returns:

2022-05-11 8:57:13 PM :: Connect to Microsoft Graph: unknown_user_type: Unknown User Type
2022-05-11 8:57:13 PM :: Connect to EWS: The request failed with HTTP status 401: . :: 0:00:03
2022-05-11 8:57:17 PM :: Connect to SharePoint: unknown_user_type: Unknown User Type
2022-05-11 8:57:18 PM :: Connect to PowerShell: Connecting to remote server outlook.office365.com failed with the following error message : Access is denied. :: 0:00:03

I figured this was a good time to set up a dedicated user for Veeam Backup for Office , so I am now have a new global admin, with exactly the same roles and permissions as the original one, plus and Office basic license. Making the connection with this user ([email protected]) results in only two failures:

2022-05-11 9:00:53 PM :: Connect to EWS: The request failed with HTTP status 401: .
2022-05-11 9:00:56 PM :: Connect to PowerShell: Connecting to remote server outlook.office365.com failed with the following error message : Access is denied. :: 0:00:08

I have not been able to find much in the way of troubleshooting information on the Veeam community site (I am attempting this with the community edition, which I downloaded back in December). I am unable to open a support ticket with Veeam, since that requires license information from the application, and the sales people were unable to generate a second v5 trial license for me.

so - any guidance/thoughts welcome.

I have reviewed all the pre-requisites from the documentation (and nothing that I know of has changed on the server, anyway). I repeated all the powershell steps from my setup notes, with the new vbo@... credentials.

I can successfully log on to https://office.microsoft.com with the new user and send and receive email, work in sharepoint, administer all the apps from the GUI, and so on.

Using the Microsoft connectivity tester, however, results in a failure. This is the Service Account Access (Developers) test:


Exchange Web Services service account access verification
The Microsoft Connectivity Analyzer failed to complete all tests with the service account.
Test Steps

The Microsoft Connectivity Analyzer is attempting to test Autodiscover for [email protected].
Autodiscover was tested successfully.

Attempting to resolve the host name outlook.office365.com in DNS.
The host name resolved successfully.

Testing TCP port 443 on host outlook.office365.com to ensure it's listening and open.
The port was opened successfully.

Testing the SSL certificate to make sure it's valid.
The certificate passed all validation requirements.

A new mail item is being created.
The attempt to create a mail item failed.

Additional Details
Exception details:
Message: The request failed. The remote server returned an error: (401) Unauthorized.
Type: Microsoft.Exchange.WebServices.Data.ServiceRequestException
Stack trace:
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
   at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
   at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalCreateItems(IEnumerable`1 items, FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode, ServiceErrorHandling errorHandling)
   at Microsoft.Exchange.WebServices.Data.Item.InternalCreate(FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode)
   at Microsoft.Exchange.WebServices.Data.Item.Save(FolderId parentFolderId)
   at Microsoft.M365.RCA.ConnectivityTests.CreateItemTest.PerformTestReally()

Exception details:
Message: The remote server returned an error: (401) Unauthorized.
Type: System.Net.WebException
Stack trace:
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文