Hallo zusammen,
es tritt ein Fehler beim Abfragen der Funktion "Get-CsUserCallingSettings" auf. Ich habe diese Funktion auf verschiedenen Accounts auf verschiedenen PC´s mit verschiedenen Powershell Versionen probiert, leider immer der gleiche Fehler.
Englisch:
Get-CsUserCallingSettings_Get: The stream was already consumed. It cannot be read again.
Deutsch:
Get-CsUserCallingSettings : Der Stream wurde bereits verbraucht. Er kann nicht noch einmal gelesen werden.
Hat jemand eine Idee woran das liegen kann? Leider konnte ich im Internet dazu im Context von Teams nix finden.
- Beispiel: Folgende Schritte werden in Powershell ausgeführt.
Import-Module MicrosoftTeams
Connect-MicrosoftTeams
<Verbindung erfolgreich hergestellt>
Get-CsUserCallingSettings -Identity ******@XXXXX.de
Correlation id for this request : 420460XX-01XX-XXXX-XXXX-1b18XXXXX3a7
Get-CsUserCallingSettings_Get: The stream was already consumed. It cannot be read again.
- Beispiel mit Debug
Mit Debug ausführung
Get-CsUserCallingSettings -Identity ******@XXXXX.de -debug
DEBUG: CmdletBeginProcessing:
DEBUG: CmdletProcessRecordStart:
DEBUG: CmdletProcessRecordAsyncStart:
DEBUG: CmdletGetPipeline:
DEBUG: CmdletBeforeAPICall:
DEBUG: URLCreated: /Skype.VoiceGroup/userRoutingSettings/******@XXXXX.de
DEBUG: RequestCreated: /Skype.VoiceGroup/userRoutingSettings/******@XXXXX.de
DEBUG: HeaderParametersAdded:
DEBUG: BeforeCall:
Correlation id for this request : 1db43ac4-eba7-4886-9785-026db54f3913
DEBUG: ResponseCreated:
DEBUG: BeforeResponseDispatch:
DEBUG: Finally:
DEBUG: CmdletProcessRecordAsyncEnd:
DEBUG: CmdletException: InvalidOperationException - The stream was already consumed. It cannot be read again. : at System.Net.Http.HttpConnectionResponseContent.ConsumeStream()
at System.Net.Http.HttpConnectionResponseContent.SerializeToStreamAsync(Stream stream, TransportContext context, CancellationToken cancellationToken)
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
at System.Net.Http.HttpContent.WaitAndReturnAsyncTState,TResult
Get-CsUserCallingSettings_Get: The stream was already consumed. It cannot be read again.
DEBUG: CmdletProcessRecordEnd:
DEBUG: CmdletEndProcessing:
Versionsinformationen:
$PSVersionTable
Name Value
PSVersion 7.2.17
PSEdition Core
GitCommitId 7.2.17
OS Microsoft Windows 10.0.17763
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
get-module MicrosoftTeams
ModuleType Version PreRelease Name ExportedCommands
Script 5.8.1 preview MicrosoftTeams {Add-TeamChannelUser, Add-TeamsAppInstallation, Add-TeamUser, Clear-TeamsEnvironmentConfig…}