{"action":"opened","issue":{"url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/439","repository_url":"https://api.github.com/repos/PowerShell/SharePointDsc","labels_url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/439/comments","events_url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/439/events","html_url":"https://github.com/PowerShell/SharePointDsc/issues/439","id":185413871,"number":439,"title":"Exception calling\"AddActiveDirectoryConnection\" with \"10\" argument(s)","user":{"login":"jmcanally","id":11178424,"avatar_url":"https://avatars.githubusercontent.com/u/11178424?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcanally","html_url":"https://github.com/jmcanally","followers_url":"https://api.github.com/users/jmcanally/followers","following_url":"https://api.github.com/users/jmcanally/following{/other_user}","gists_url":"https://api.github.com/users/jmcanally/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcanally/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcanally/subscriptions","organizations_url":"https://api.github.com/users/jmcanally/orgs","repos_url":"https://api.github.com/users/jmcanally/repos","events_url":"https://api.github.com/users/jmcanally/events{/privacy}","received_events_url":"https://api.github.com/users/jmcanally/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-26T14:41:40Z","updated_at":"2016-10-26T14:41:40Z","closed_at":null,"body":"**Details of the scenario you try and problem that is occurring:**\r\nTrying to use SPUserProfileSyncConnection and getting the error below.  I tried debugging and the following lines is where it stops and returns false.\r\n\r\nThis is an excerpt from MSFT_SPUserProfileSyncConnection.psm1 on line 344\r\n```\r\n$CurrentValues = Get-TargetResource @PSBoundParameters \r\n\r\nif ($null -eq $CurrentValues)  \r\n {  \r\n    return $false  \r\n } \r\n\r\n```\r\nWhat am I missing?\r\n\r\n**Error Details:**\r\nPowerShell DSC resource MSFT_SPUserProfileSyncConnection  failed to execute Set-TargetResource functionality with error message: Exception c\r\n\"AddActiveDirectoryConnection\" with \"10\" argument(s): \"Could not load file or assembly 'Microsoft.ResourceManagement, Version=4.0.2450.51,\r\nCulture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.\"\r\n    + CategoryInfo          : InvalidOperation: (:) [], CimException\r\n    + FullyQualifiedErrorId : ProviderOperationExecutionFailure\r\n    + PSComputerName        : SERVER_NAME\r\n\r\n**The DSC configuration that is using the resource:**\r\nN/A\r\n\r\n**Version of the Operating System and PowerShell the DSC Target Node is running:**\r\nOS = Win2012 R2\r\nPS = 5\r\n\r\n**Version of the DSC module you're using:**\r\n1.3\r\n"}}
{"actor":{"display_login":"jmcanally"}}