Skip to content
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

Error in Get-IntuneManagedDeviceBitLockerKeyPresence.ps1 #53

Open
fyopolo opened this issue Oct 21, 2022 · 0 comments
Open

Error in Get-IntuneManagedDeviceBitLockerKeyPresence.ps1 #53

fyopolo opened this issue Oct 21, 2022 · 0 comments

Comments

@fyopolo
Copy link

fyopolo commented Oct 21, 2022

Hi Nickola.
I was trying to run this script in ISE and PS 7, but I'm getting different errors depending on the used app.

ISE:
WARNING: An error occurred while attempting to retrieve an authentication token. Error message: Cannot convert argument "builder", with value: "Microsoft.Identity.Client.PublicClientApplicationBuilde
r", for "WithDesktopFeatures" to type "Microsoft.Identity.Client.PublicClientApplicationBuilder": "Cannot convert the "Microsoft.Identity.Client.PublicClientApplicationBuilder" value of type "Microso
ft.Identity.Client.PublicClientApplicationBuilder" to type "Microsoft.Identity.Client.PublicClientApplicationBuilder"."

PS 7:
WARNING: An error occurred while attempting to retrieve an authentication token. Error message: A parameter cannot be found that matches parameter name 'CreateIfMissing'.

Is there anything I can do for making it to work?
Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant