Public/TenantConnection/Disconnect-CustomerGraph.ps1

function Disconnect-CustomerGraph {
    process {
        try {
            Disconnect-MgGraph | Out-Null
        }
        catch {
            Write-Error "Failed to disconnect from MS Graph: $_"
        }
    }
}