Quantcast
Channel: Symantec Connect - Archiving and eDiscovery - Discussions
Viewing all articles
Browse latest Browse all 3821

Provisioning API Failing

$
0
0
Oui, j'ai besoin d'une solution

Hi,

I have been using a vbscript for a number of years that uses the evpm to prevent archiving the "DoNotArchive" folder in a users mailbox.  I think that this stopped working around the time we moved to Windows 2008 R2 and EV10SP4 but I can't be sure.

When the script runs now I get the error: An error occurred replacing the script parameters

I have now used the example in the EV utilities guide (About using the Provisioning API to run Policy Manager Scripts, p253) as per below:

option explicit

Dim ArrayOfParameters(0)
ArrayOfParameters(0) = "true"

Dim Enabler
Set Enabler = CreateObject("EnterpriseVault.ExchangeArchivePoint")
Enabler.Directory = "MACHINE1"
Enabler.Site = "site1"'(Entry Id or Site Name)
Enabler.ExchangeServer = "DITTO"'(Entry Id or Exchange Name)
Enabler.SystemMailbox = "EnterpriseVault-DITTO"
Enabler.MailboxDN = "/o=Eng2000/ou=First Administrative
Group/cn=Recipients/cn=Bruiser"
Enabler.SetScriptFile "C:\MyScripts\Script1.ini", ArrayOfParameters
Enabler.ExecuteScript ' runs the EVPM script against the script1.ini file after making the substitutions in the strings.

and I get the same error.  I did amend the values relevant to my site but that was it.

I raised a call with Symantec and they said I had missed the brackets on the line:

Enabler.SetScriptFile "C:\Program Files (x86)\Enterprise Vault\Scripts\EVPM\EnableScript_DONOTARCHIVETest2.ini", ArrayOfParameters

So I added them in:

Enabler.SetScriptFile ("C:\Program Files (x86)\Enterprise Vault\Scripts\EVPM\EnableScript_DONOTARCHIVETest2.ini", ArrayOfParameters)

But then got the error: Cannot use parentheses when calling a Sub

Symantec support said that they get  the same errors (with their own script out of the the utilities guide) but cannot help me any further as they don't support scripts.

 

Does anyone else use vbscript for EVPM on Windows 2008 R2 EV10SP4 and if so have you had the same issues and overcome them.

Symantec support couldn't offer an alternative for me other than I would have to manually use evpm for each of our mailboxes.  We have thousands.

 

Any help would be greatly appreciated.

Matt

 

 

 


Viewing all articles
Browse latest Browse all 3821

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>