powershell-intune-samples icon indicating copy to clipboard operation
powershell-intune-samples copied to clipboard

MethodInvocationException Error

Open 4sa617 opened this issue 1 year ago • 3 comments

I don't have a tremendous amount of experience with this sort of stuff, but after digging around for a few hours I was not able to find anyone with a similar error.

It appears when I attempt to run any script from (Powershell on linux), I am prompted with the request and then after inputing the UPN I get the following. I don't recieve a popup. I have run both the AzureAD and AzureADPreview module installs without error. I am already logged into the tenant from a chrome browser.

IntuneScriptError

I saw that a file was missing from what I am getting from the error, but that file doesn't appear to be in any repository so I can only assume that it is created on login? I also attempted this from a windows 10 Enterprise machine with the same error. From the windows machine I am not logged in with a local account, rather an O365 account (if that makes a difference).

Is there a step that I am missing? Any help would be greatly appriciated!

4sa617 avatar May 29 '23 16:05 4sa617