dsccommunity / SharePointDsc

The SharePointDsc PowerShell module provides DSC resources that can be used to deploy and manage a SharePoint farm
MIT License
247 stars 107 forks source link

SPUserProfileServiceApp: Fix issue where Get-TargetResource throws an error when no MySiteHost is specified #1412

Closed hebbea closed 2 years ago

hebbea commented 2 years ago

Pull Request (PR) description

This PR Fixed issue where error 'You cannot call a method on a null-valued expression' was thrown when no MySiteHost was specified in the User Profile Service Application.

This Pull Request (PR) fixes the following issues

Task list


This change is Reviewable