-
Notifications
You must be signed in to change notification settings - Fork 215
Closed
Description
With latest modules (0.9.1):
▶ Remove-MgApplication -ApplicationId "443a418b-b373-4219-a71b-1f7447ea6ff5" -Debug
DEBUG: CmdletBeginProcessing:
DEBUG: CmdletProcessRecordStart:
Confirm
Are you sure you want to perform this action?
Performing the operation "Remove-MgApplication_Delete1" on target "Call remote 'ApplicationsApplicationDeleteApplication1'
operation".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
DEBUG: CmdletProcessRecordAsyncStart:
DEBUG: CmdletGetPipeline:
DEBUG: CmdletBeforeAPICall:
DEBUG: URLCreated: https://graph.microsoft.com/beta/applications/443a418b-b373-4219-a71b-1f7447ea6ff5
DEBUG: RequestCreated: https://graph.microsoft.com/beta/applications/443a418b-b373-4219-a71b-1f7447ea6ff5
DEBUG: HeaderParametersAdded: https://graph.microsoft.com/beta/applications/443a418b-b373-4219-a71b-1f7447ea6ff5
DEBUG: BeforeCall:
DEBUG: ResponseCreated:
DEBUG: BeforeResponseDispatch:
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.CopyToAsyncCore(ValueTask copyTask)
at Microsoft.Graph.PowerShell.HttpMessageFormatter.SerializeToStreamAsync(Stream stream, TransportContext context)
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
at System.Net.Http.HttpContent.WaitAndReturnAsync[TState,TResult](Task waitTask, TState state, Func`2 returnFunc)
at Microsoft.Graph.PowerShell.Module.Finally(String id, CancellationToken cancellationToken, Func`1 getEventData, Func`4 signal)
at Microsoft.Graph.PowerShell.Module.EventHandler(String id, CancellationToken cancellationToken, Func`1 getEventData, Func`4 signal, InvocationInfo invocationInfo, String parameterSetName, Exception exception)
at Microsoft.Graph.PowerShell.Module.Signal(String id, CancellationToken token, Func`1 getEventData, Func`4 signal, InvocationInfo invocationInfo, String parameterSetName, Exception exception)
at Microsoft.Graph.PowerShell.Cmdlets.RemoveMgApplication_Delete1.Microsoft.Graph.PowerShell.Runtime.IEventListener.Signal(String id, CancellationToken token, Func`1 messageData)
at Microsoft.Graph.PowerShell.IdentityApplication.ApplicationsApplicationDeleteApplication1_Call(HttpRequestMessage request, Func`2 onNoContent, Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Graph.PowerShell.IdentityApplication.ApplicationsApplicationDeleteApplication1(String applicationId, String ifMatch, Func`2 onNoContent, Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Graph.PowerShell.Cmdlets.RemoveMgApplication_Delete1.ProcessRecordAsync()
at Microsoft.Graph.PowerShell.Cmdlets.RemoveMgApplication_Delete1.ProcessRecordAsync()
Remove-MgApplication_Delete1: The stream was already consumed. It cannot be read again.
DEBUG: CmdletProcessRecordEnd:
DEBUG: CmdletEndProcessing:
Metadata
Metadata
Assignees
Labels
No labels