Unsolved
1 Message
0
2330
October 27th, 2020 11:00
Set-Acl : Attempted to perform an unauthorized operation.
Hello,
We are new to Isilon. We have Isilon stores and trying use these as OneFS file system. we download some data in folders under a share. We are trying to assign ad groups by power-shell but getting below message. This script is working with Windows system and also we can manually assign groups but not with power-shell. Please help us
Error Messages
Set-Acl : Attempted to perform an unauthorized operation.
At C:\OneDrive\AssignGroups-Shares.ps1:22 char:8
+ $acl | Set-Acl $Path
+ ~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (\\esstop104file...PSA\flightstats:String) [Set-Acl], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetAclCommand
Exception calling "SetAccessRule" with "1" argument(s): "Some or all identity references could not be translated."
At C:\Users\930425\OneDrive - American Airlines, Inc\Documents\Data\OneDrive\LongFile-SpecialCharacter\AssignGroups-Shares-Correct.ps1:21 char:1
+ $acl.SetAccessRule($AccessRule)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : IdentityNotMappedException
Regards



Phil.Lam
3 Apprentice
•
625 Posts
0
April 1st, 2022 15:00
@AbulHasnat,
HTH
https://www.dell.com/community/Isilon/Setting-ACLs-using-Powershell-Script/td-p/7265163