Security

Mimecast for Splunk v2: powershell error when setting up the app

continental
New Member

I am trying to setup Splunk for Mimecast using the Addon. Following the directions here https://community.mimecast.com/docs/DOC-2142#jive_content_id_Installation_and_Configuration I get stuck at the login process. When I run the login command it comes back with blank key and a powershell error

PS C:\Program Files\splunk\etc\apps\Splunk_TA_mimecast_for_splunk_v2\bin> .\login.ps1


Welcome to the Mimecast for Splunk setup assistant.


Please enter the email address and Mimecast cloud password of the Mimecast administrator you would like to use for Splunk to connect to Mi
mecast.

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
Requesting access key and secret key

Invoke-RestMethod : Invalid URI: The hostname could not be parsed.
At C:\Program Files\splunk\etc\apps\Splunk_TA_mimecast_for_splunk_v2\bin\login.ps1:24 char:21
+ ... ponseData = Invoke-RestMethod -Method Post -Headers $requestHeaders - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-RestMethod], UriFormatException
+ FullyQualifiedErrorId : System.UriFormatException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Request completed successfully. Extracting values from response.

Access key:
Secret key:

Use these values in your Mimecast for Splunk v2 Data Input. Please ensure you remove any line breaks from the access key and secret key va
lues when using copy / paste from the PowerShell window.

0 Karma

alevy
Path Finder

Hi There,

Please make sure enter a valid email address in the get-credential pop-up.

Many Thanks

0 Karma
Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Enhance Security Operations with Automated Threat Analysis in the Splunk EcosystemAre you leveraging ...

Splunk Developers: Go Beyond the Dashboard with These .Conf25 Sessions

  Whether you’re building custom apps, diving into SPL2, or integrating AI and machine learning into your ...

Index This | How do you write 23 only using the number 2?

July 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...