Problem
The EVPM utility is designed to allow granular and custom changes to mailboxes and archives. By default an archive will have permissions assigned to it based on inherited permissions. At times it is necessary to add custom permissions, for a group or a user, to one or more archives.
Solution
a. Modify the script below to match the particular DirectoryComputerName, SiteName and ArchiveName values for the environment.
b. Save the file with an .ini extension in UNICODE format.
---------------------------Copy below---------------------------------------
[Directory]
DirectoryComputerName=kvsvault
SiteName=archivesite
[ArchivePermissions]
ArchiveName = john doe
GrantAccess = read write delete, ourdomain\smith
---------------------------Copy above---------------------------------------
Descriptions:
Multiple Archives
While there can be multiple occurrences of the GrantAccess parameter within a given [ArchivePermissions] section, the ArchiveName parameter does not work the same way. It may see that the following will grant read permissions to Alice for Bob's archive and read permissions to Carol for Dan's archive:
[ArchivePermissions]
ArchiveName = Bob
GrantAccess = read, Alice
ArchiveName = Dan
GrantAccess = read, Carol
However, this is not the case. The above example will grant all the permissions named to all the archives named. Thus both Alice and Carol end up with read permissions to both Bob's and Dan's archives.
To assign disparate permissions to multiple archives properly, multiple [ArchivePermissions] sections must be used. For example, the below actually does grant read permissions to Alice for Bob's archive and read permissions to Carol for Dan's archive:
[ArchivePermissions]
ArchiveName = Bob
GrantAccess = read, Alice
[ArchivePermissions]
ArchiveName = Dan
GrantAccess = read, Carol
Note: For further details and assistance in running EVPM, please see the Utilities guide under Documentation in the installation of EV.