Skip to content

Information level output has useless information || Microsoft.Graph.PowerShell.Runtime.EventData data #1369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ProgrammingWithDJ opened this issue Jul 6, 2022 · 4 comments
Assignees

Comments

@ProgrammingWithDJ
Copy link

ProgrammingWithDJ commented Jul 6, 2022

We are getting Microsoft.Graph.PowerShell.Runtime.EventData spam output whenever we query the graph module please help

@ghost ghost added the ToTriage label Jul 6, 2022
@peombwa
Copy link
Member

peombwa commented Jul 6, 2022

@ProgrammingWithDJ, which version of the SDK are you using? This is potentially a duplicate of #823.

Please share the output of the following with us:

  • Get-Module Microsoft.Graph, Microsoft.Graph.Authentication.
  • $PSVersionTable.
  • Your repro steps.

@peombwa peombwa self-assigned this Jul 6, 2022
@ProgrammingWithDJ
Copy link
Author

Hello @peombwa thanks for looking into it.

I am getting this error aftering running this command Connect-MgGraph and this is the below output I get.

The command is working as expected however I am spammed with Info: Microsoft.Graph.PowerShell.Runtime.EventData

is there any way we can avoid that ?

Connect Success
● CSV file read check

Read CSV file: Success

Number of readings: 2

The following email addresses are already licensed.
[email protected]

● License grant
Info: Microsoft.Graph.PowerShell.Runtime.EventData
Info: Microsoft.Graph.PowerShell.Runtime.EventData
Info: Microsoft.Graph.PowerShell.Runtime.EventData
Info: Microsoft.Graph.PowerShell.Runtime.EventData
Info: Microsoft.Graph.PowerShell.Runtime.EventData
Info: Microsoft.Graph.PowerShell.Runtime.EventData
Info: Microsoft.Graph.PowerShell.Runtime.EventData
Info: Microsoft.Graph.PowerShell.Runtime.EventData
Info: Microsoft.Graph.PowerShell.Runtime.EventData
Info: Microsoft.Graph.PowerShell.Runtime.EventData

@peombwa
Copy link
Member

peombwa commented Jul 7, 2022

@ProgrammingWithDJ, which version of the module are using? Get-Module Microsoft.Graph, Microsoft.Graph.Authentication should show you the loaded version.

Please update to the latest version using Update-Module Microsoft.Graph as the spammy logs was fixed by #868. I can't repro the issue in v1.10.0.

@ghost
Copy link

ghost commented Jul 11, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost ghost closed this as completed Jul 14, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants