Public/TenantConfiguration/Baseline/Add-SelfServicePasswordReset.ps1
function Add-SelfServicePasswordReset { param( [Parameter(Mandatory)] [string]$TenantId ) try { <# We tell the user to do this afterward instead, so this won't be called.. Read-Host "There are currently no API's for enabling SSPR on a tenant. Please do this manually, and press any key to continue." -ForegroundColor Yellow #> } catch { throw "Failed to add Self Service Password Reset: $_" } } |