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

744 remove azuread dependency #837

Closed
wants to merge 4 commits into from

Conversation

FH-Inway
Copy link
Member

No description provided.

@FH-Inway FH-Inway self-assigned this Jun 22, 2024
@FH-Inway FH-Inway added the enhancement New feature or request label Jun 22, 2024
@Splaxi Splaxi marked this pull request as ready for review June 23, 2024 18:54
Comment on lines +170 to +175
$azureADModule = Get-Module -Name "AzureAD" -ListAvailable
if ($null -eq $azureADModule) {
Write-PSFMessage -Level Host -Message "AzureAD module is not installed. Trying to install it now." -Color Yellow
Install-Module -Name "AzureAD" -Force -AllowClobber -Scope CurrentUser
}

Copy link
Member Author

Choose a reason for hiding this comment

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

@Splaxi What do you think about this "just in time" installation of dependencies? I did not have a chance to fully test it yet.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's have a offline chat at some point in time, over the summer - to see where we end up.

For now I'm against JIT installation...

@Splaxi
Copy link
Collaborator

Splaxi commented Sep 19, 2024

As agreed - I'm taking the task upon me to rewrite the entire cmdlet for Import-D365AadUser to pure / native rest calls. This will remove the dependency for AzureAD or the complex Microsoft.Graph modules

@FH-Inway FH-Inway closed this Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

➖ ➕ Remove PSNotification, replace AzureAd with Microsoft.Graph REST API
2 participants