{"action":"opened","issue":{"url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/984","repository_url":"https://api.github.com/repos/PowerShell/SharePointDsc","labels_url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/984/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/984/comments","events_url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/984/events","html_url":"https://github.com/PowerShell/SharePointDsc/issues/984","id":382165270,"node_id":"MDU6SXNzdWUzODIxNjUyNzA=","number":984,"title":"SPServiceAppSecurity: ExpandAccessLevel not recognized","user":{"login":"paololec","id":21666251,"node_id":"MDQ6VXNlcjIxNjY2MjUx","avatar_url":"https://avatars3.githubusercontent.com/u/21666251?v=4","gravatar_id":"","url":"https://api.github.com/users/paololec","html_url":"https://github.com/paololec","followers_url":"https://api.github.com/users/paololec/followers","following_url":"https://api.github.com/users/paololec/following{/other_user}","gists_url":"https://api.github.com/users/paololec/gists{/gist_id}","starred_url":"https://api.github.com/users/paololec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paololec/subscriptions","organizations_url":"https://api.github.com/users/paololec/orgs","repos_url":"https://api.github.com/users/paololec/repos","events_url":"https://api.github.com/users/paololec/events{/privacy}","received_events_url":"https://api.github.com/users/paololec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-19T11:11:04Z","updated_at":"2018-11-19T11:11:04Z","closed_at":null,"author_association":"NONE","body":"#### Details of the scenario you tried and the problem that is occurring\r\nBug on SPServiceAppSecurity\r\n#### Verbose logs showing the problem\r\nPowerShell DSC resource MSFT_SPServiceAppSecurity  failed to execute Test-TargetResource functionality with error message: The term \r\n'ExpandAccessLevel' is not recognized as the name of a cmdlet, function, script file, or operable program.\r\n\r\n#### Suggested solution to the issue\r\nAdd ExpandAccessLevel to function ???\r\nExport-ModuleMember -Function *-TargetResource, ExpandAccessLevel\r\n\r\n#### The DSC configuration that is used to reproduce the issue (as detailed as possible)\r\n```powershell\r\n$MembersToInclude = @();\r\n             $MembersToInclude += MSFT_SPServiceAppSecurityEntry {\r\n                Username    = $Credssp_searchcontent.UserName;\r\n                EntryNumber = 1;\r\n                AccessLevels = @(\"Full Access to Term Store\");\r\n            };\r\n            SPServiceAppSecurity ServiceAppSecurityPermissionsManagedMetadata\r\n            {\r\n                SecurityType = \"SharingPermissions\";\r\n                ServiceAppName = \"Managed Metadata Service\";\r\n                PsDscRunAsCredential = $Credssp_admin;\r\n                MembersToInclude = @($MembersToInclude);\r\n            }\r\n```\r\n\r\n#### The operating system the target node is running\r\nWin Server 2016\r\n#### Version of SharePoint that is used (e.g. SharePoint 2016)\r\nSharePoint 2019\r\n#### Version and build of PowerShell the target node is running\r\n 5.1.14393.2608       \r\n\r\n#### Version of the DSC module that was used ('dev' if using current dev branch)\r\n3.0"}}
{"actor":{"display_login":"paololec"}}