SMLets new Configuration Questions #524
-
|
I have a SCSM 2022 Server we installed the SMLets Management Pack. The mailbox user is cloud only account with a mailbox license, the SMLets Exchange Connector settingis setup for the O365. Workflow email address is the one for the cloud only user but on the drop down we have tested with the same cloud only account but still we received the below errors. Should the Workflow Account in SCSM be change to a Cloud only account as well? I am at a dead end here some of the other discussion point is not helping me System.Management.Automation.MethodInvocationException: Exception calling "Bind" with "2" argument(s): "The Url property on the ExchangeService object must be set." ---> Microsoft.Exchange.WebServices.Data.ServiceLocalException: The Url property on the ExchangeService object must be set. Could not retrieve OAuth token from 365: System.Net.WebException: The remote server returned an error: (400) Bad Request. The address/SCSM Run As Account used to sign into 365 is not a valid email address and is currently entered as @. This will prevent a successful connection. To fix this, go to the Run As account in SCSM and for the username enter it as an email address like user@domain.tld System.Management.Automation.MethodInvocationException: Exception calling "LoadFile" with "1" argument(s): "An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information." ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Beta Was this translation helpful? Give feedback.
Hi @AdhocAdam
Let me see if I can articulate this correctly.
For the Set-Secret we logged on to the server with the SCSM Workflow account and ran PowerShell.
In PowerShell we ran the following commands so that we can set our Secret as well as remove the interactive prompt top enter a password to access the secret.