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

Update PSIntuneAuth.psm1 #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

stgrdk
Copy link

@stgrdk stgrdk commented Nov 28, 2022

For some strange reason i had 3 installed versions of the latest AzureAD module and when it tried to join-path in line 178 it failed because there where 3 $AzureADModulePath. Adding -First 1 in line 169 it gets 1 of them.

For some strange reason i had 3 installed versions of the latest AzureAD module and when it tried to join-path in line 178 it failed because there where 3 $AzureADModulePath. Adding -First 1 in line 169 it gets 1 of them.
@stgrdk stgrdk closed this Nov 28, 2022
@stgrdk stgrdk reopened this Nov 29, 2022
$AuthenticationContext when run without .Result comes out with these headers: Id,IsCompleted,Status
Copy link
Author

@stgrdk stgrdk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When running $AuthenticationContext.AcquireTokenAsync it does not have the "Result" parameter, when running the function without .Result I get these: Id,IsCompleted,Status

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

Successfully merging this pull request may close these issues.

1 participant