0 votes

This issue affects only Adaxes versions that use the Exchange Online Management (EXO v3) PowerShell module:

  • Adaxes 2023.2 - all versions
  • Adaxes 2023 - starting from version 3.15.21404
  • Adaxes 2021.1 - starting from version 3.14.21404
  • Adaxes 2020.1 - starting from version 3.13.21404

 

Description

If a Microsoft 365 tenant is registered in Adaxes via user account credentials and the computer where Adaxes service is installed uses a proxy server, certain operations in Exchange Online will always fail with the following error message.

 

Error message

{
    "error": {
        "code": "BadRequest",
        "message": "Cmdlet needs proxy. Current Server FQDN : server.prod.outlook.com, Required Server FQDN : server2.prod.outlook.com",
        "innererror": {
            "message": "Cmdlet needs proxy. Current Server FQDN : server.prod.outlook.com, Required Server FQDN : server2.prod.outlook.com",
            "type": "Microsoft.Exchange.Admin.OData.Core.ODataServiceException",
            "stacktrace": "at Microsoft.Exchange.AdminApi.CommandInvocation.CommandInvocation.InvokeCommand(QueryContext queryContext, CmdletInvokeInputType cmdletInvokeInputType)
                           at Microsoft.Exchange.Admin.OData.Core.PathSegmentToExpressionTranslator.Translate(OperationImportSegment segment)
                           at Microsoft.Exchange.Admin.OData.Core.QueryContext.ResolveQuery(ODataContext context, Int32 level)
                           at Microsoft.Exchange.Admin.OData.Core.Handlers.OperationHandler.Process(IODataRequestMessage requestMessage, IODataResponseMessage responseMessage)
                           at Microsoft.Exchange.Admin.OData.Core.Handlers.RequestHandler.Process(Stream requestStream)"
        }
    }
}

 

Cause

The EXO v3 PowerShell module has a known issue with user account authentication in such scenarios.

 

Solution

Switch the tenant registration to an application account. For more details, see how to Register Adaxes as an app in Microsoft Azure.

by (560 points)

Please log in or register to answer this question.

Related questions

0 votes
1 answer

Greetings. When I create the parameters to make a business rule that looks for users whose Email Proxy Adresses does not contain 'SMTP:%userPrincipalName%', it still generates profiles ... and primary SMTP address don't match. Version is 2023 How rule is set

asked Dec 19, 2022 by MShep (80 points)
0 votes
1 answer

For creating a computer object, we want to check if the entered CN is already used in our AD. And for that we want to use a powershell script. An other dot ... powershell script should be start before creating the computer object, right? Thanks for your help.

asked Jun 4 by KEME (80 points)
0 votes
0 answers

Whether I try to run a script or manually run the commands to enroll users, users remain unenrolled. Example of a basic script: Import-Module ... ` -QuestionsAndAnswers @{$question1=$answer1;$question2=$answer2} -AdaxesService localhost Adaxes version 2021

asked Mar 27, 2023 by gwadmin (80 points)
0 votes
1 answer

How can i différenciante the two user without opening each one of them ?

asked Jan 20, 2023 by eric.lebrun (20 points)
0 votes
1 answer

After creating a user, I want to create a mailbox that is visible both on-premises and in Exchange Online (remote mailbox). The presence in on-premises Exchange is required ... migration is completed. The groups the user is being added to are license groups.

asked Oct 21 by Cas (200 points)
3,535 questions
3,225 answers
8,218 comments
547,712 users