Core/set-directory-access.json
{
"Parameters": { "Directory": { "Type": "string", "Description": "The directory which access will be modified." }, "AppPoolName": { "Type": "string", "Description": "The name of the AppPool." } }, "Tasks": { "SetPermissions": { "Type": "FilePermissions", "Params": { "Path": "[parameter('Directory')]", "Rights": [ { "User": "[concat('IIS AppPool\\', parameter('AppPoolName'))]", "FileSystemRights": "FullControl", "InheritanceFlags": [ "ContainerInherit", "ObjectInherit" ] } ] } } } } |