andrew-s-taylor / public

Public Scripts and Apps
GNU General Public License v3.0
459 stars 174 forks source link

Getintuneinstalls not working with PowerShell 7.0 #43

Open RobertSmedley59 opened 3 weeks ago

RobertSmedley59 commented 3 weeks ago

Line 198 "$errorResponse = $ex.Response.GetResponseStream()" is failing with the error: Method invocation failed because [System.Net.Http.HttpResponseMessage] does not contain a method named 'GetResponseStream'

Apparently this functionality was removed in PS 7.0

Can this be fixed?

andrew-s-taylor commented 3 weeks ago

There is something else failing which is triggering the error, I'll need to do some testing

andrew-s-taylor commented 3 weeks ago

It looks like the "installSummary" is completely missing from Graph mobile apps. I'll find out if it's a bug with Graph or permanently removed (in which case I'll need a plan b)