Public/Graph/Invoke-KriticalUtcmMgBetaUploadIdentityApiConnectorClientCertificate.ps1
|
<# .SYNOPSIS Kritical.UTCM wrapper over Microsoft365DSC helper Invoke-MgBetaUploadIdentityApiConnectorClientCertificate (category: Graph, module: M365DSCGraphShim). .DESCRIPTION Thin delegating passthrough — logic stays in Microsoft365DSC upstream; Kritical.UTCM provides the friendly namespace + citation registration. Install-Module Microsoft365DSC -Scope CurrentUser BEFORE calling. .NOTES Category: Graph Module: M365DSCGraphShim Params: 14 #> function Invoke-KriticalUtcmMgBetaUploadIdentityApiConnectorClientCertificate { [CmdletBinding()] param( [String] $IdentityApiConnectorId, [Object] $InputObject, [Object] $BodyParameter, [String] $ResponseHeadersVariable, [Hashtable] $AdditionalProperties, [String] $Password, [String] $Pkcs12Value, [SwitchParameter] $Break, [IDictionary] $Headers, [Object[]] $HttpPipelineAppend, [Object[]] $HttpPipelinePrepend, [Uri] $Proxy, [PSCredential] $ProxyCredential, [SwitchParameter] $ProxyUseDefaultCredentials ) if (-not (Get-Command -Name 'Invoke-MgBetaUploadIdentityApiConnectorClientCertificate' -ErrorAction SilentlyContinue)) { throw '[KriticalUtcm] Invoke-MgBetaUploadIdentityApiConnectorClientCertificate not available — Install-Module Microsoft365DSC -Scope CurrentUser then re-run' } try { & 'Invoke-MgBetaUploadIdentityApiConnectorClientCertificate' @PSBoundParameters } catch { Write-Error ('[KriticalUtcm/Invoke-KriticalUtcmMgBetaUploadIdentityApiConnectorClientCertificate] ' + 'Invoke-MgBetaUploadIdentityApiConnectorClientCertificate' + ' failed: ' + $_.Exception.Message) throw } } |