Test connection for Office 365 configuration fails with error
An error occurred while running Connect-MsolService ---> System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'String' because it is an empty string.
Full error;
2021-02-23 10:46:50,287 [1] ERROR SnowSoftware.ExternalDataProvider.Providers.Office365.Properties - Test connection from the GUI failed. Exception:
SnowSoftware.ExternalDataProvider.Providers.Exceptions.PluginException: An error occurred while running Connect-MsolService ---> System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'String' because it is an empty string.
at System.Management.Automation.ParameterBinderController.BindPositionalParametersInSet(UInt32 validParameterSets, Dictionary`2 nextPositionalParameters, CommandParameterInternal argument, ParameterBindingFlags flags, ParameterBindingException& bindingException)
at System.Management.Automation.ParameterBinderController.BindPositionalParameters(Collection`1 unboundArguments, UInt32 validParameterSets, UInt32 defaultParameterSet, ParameterBindingException& outgoingBindingException)
at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)
at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)
at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
--- End of inner exception stack trace ---
at SnowSoftware.ExternalDataProvider.Providers.Office365.PsRunner.GetPowerShellInstance()
at SnowSoftware.ExternalDataProvider.Providers.Office365.PsRunner.TestConnection()
at SnowSoftware.ExternalDataProvider.Providers.Office365.Properties.<TestConnection>d__25.MoveNext()
Snow Integration Manager
Microsoft Office 365
Check the Snow Integration Manager Office 365 Connector User Guide has been followed.
On the Server
- Check Microsoft Online Services Sign-In Assistant is installed
- Check Windows Azure Active Directory Module for Windows PowerShell is installed
On the Snow License Manager Side
- Check Snow License Manager API is accessible - http://SLMPortal:PORT/API (http://testslm:80/api)
- Ensure the Snow License Manager API user is able to log in.
On the Microsoft Azure Side
- Ensure Multi-factor Authentication is not being used on the Office 365 Account used
- Ensure the specific permissions required in Microsoft Azure for the Graph API has been followed.
- Directory > Directory.Read.All
- Organization > Organization.Read.All
- User > User.Read.All
- Report.Read.All > Reports in the list of permissions. This step is only required if Include last activity check box is selected in Snow Integration Manager
Ensure the specific permissions required in Microsoft Azure for the Graph API has been followed.
- Directory > Directory.Read.All
- Organization > Organization.Read.All
- User > User.Read.All
- Report.Read.All > Reports in the list of permissions. This step is only required if Include last activity check box is selected in Snow Integration Manager
Misconfiguration of the Microsoft Azure Portal.
Related Articles
Snow Inventory Agent error: Cannot bind argument to parameter 'AgentPaths' because it is an empty string 11Number of Views Office 365 Service error: "The input is not a valid Base-64 string" 6Number of Views Adobe CC test connection failed 30Number of Views Test Connection to ILMT failed with error "'IBMDADB2' provider is not registered" 21Number of Views Cognos error: QE-DEF-0322 The connection string is invalid. RQP-DEF-0068 Unable to connect to at least one database during… 29Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago