question

08170201 avatar image
0 Votes"
08170201 asked ·

exchange server 添加邮箱报错

Microsoft.Exchange.Provisioning.ProvisioningException: ScriptingAgent: 对 OnComplete API 调用 Scriptlet 时引发了异常: 使用“1”个参数调用“Send”时发生异常:“事务失败。 服务器响应为:5.6.0 Invalid message content”。 ---> System.Management.Automation.MethodInvocationException: 使用“1”个参数调用“Send”时发生异常:“事务失败。 服务器响应为:5.6.0 Invalid message content” ---> System.Net.Mail.SmtpException: 事务失败。 服务器响应为:5.6.0 Invalid message content 在 System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse) 在 System.Net.Mail.DataStopCommand.Send(SmtpConnection conn) 在 System.Net.ClosableStream.Close() 在 System.Net.Mail.SmtpClient.Send(MailMessage message) 在 CallSite.Target(Closure , CallSite , Object , Object ) --- 内部异常堆栈跟踪的结尾 --- 在 System.Management.Automation.ExceptionHandlingOps.ConvertToMethodInvocationException(Exception exception, Type typeToThrow, String methodName, Int32 numArgs, MemberInfo memberInfo) 在 CallSite.Target(Closure , CallSite , Object , Object ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) 在 System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame) 在 System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) --- 内部异常堆栈跟踪的结尾 --- 在 Microsoft.Exchange.ProvisioningAgent.

office-exchange-server-mailflow
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ZhengqiLou-MSFT avatar image
0 Votes"
ZhengqiLou-MSFT answered ·

Hi @08170201 ,

Happy new year!
Sorry but currently in Microsoft Q&A we only support English questions, could you please edit your question into English?Then we can help you to solve your issues.
And also you can post the question on the right Chinese forum: TechCN, so we can discuss in Chinese there.

I've read the error messages and seems like you're using the script to create mailbox right? What about creating them with EAC or EMS? We can go on here with English.
But it's suggested to open a new thread on the TechCN forum for a better troubleshooting.
Thanks for your understanding!

Best regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 3 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI,

It's not using the script to create mailbox,It happen on EAC when broswer ad user and saving .

0 Votes 0 ·

Hi @08170201 ,

Have you ever changed Exchange settings or .XML files recently?
Please try creating a new mailbox in EMS:

 New-Mailbox -UserPrincipalName user@domain.com -Alias UserAlias -Name "UserName" -Password (ConvertTo-SecureString -String Password -AsPlainText -Force) -Database Database

72051-image.png
If this works, please try to reset the ECP Virtual Directory by:

 Remove-EcpVirtualDirectory -Identity "Server\ecp (Default Web site)"
 New-EcpVirtualDirectory -Server SERVER01 -ExternalURL https://mail.contoso.com/ecp -InternalURL https://mail.contoso.com/ecp

Also you can try with another browser to test.

Regards,
Lou

0 Votes 0 ·
image.png (7.9 KiB)

Hi @08170201 ,

It has been a long time since last reply, did these suggestions help you? If the above suggestion helps, please click “Accept as answer” to mark helpful reply as an answer.Your action would be helpful to other users who encounter the same issue and read this thread.

Regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·