-
Notifications
You must be signed in to change notification settings - Fork 215
Closed
Description
I load Microsoft.Identity.Client.dll from PartnerCustomerCommunity.psd1 like this:
RequiredAssemblies = @(
'.\lib\Microsoft.Identity.Client.dll',
'.\lib\Microsoft.Store.PartnerCenter.dll',
'.\lib\Microsoft.Store.PartnerCenter.Models.dll',
'.\lib\Microsoft.Store.PartnerCenter.Extensions.dll'
)If Connect-MgGraph run first then Import-Module -Name PartnerCustomerCommunity there is no problem, both modules work.
If Import-Module -Name PartnerCustomerCommunity run first then Connect-MgGraph, Graph will error:
Connect-MgGraph: Could not load file or assembly 'Microsoft.IdentityModel.Abstractions, Version=6.18.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
# Install-Module Microsoft.Graph
# Install-Module -Name PartnerCustomerCommunity -AllowPrerelease
# Works
Connect-MgGraph
Import-Module -Name PartnerCustomerCommunity -Verbose
# Doesn't work
Import-Module -Name PartnerCustomerCommunity -Verbose
Connect-MgGraph
# Doesn't work (run Microsoft.Graph from inside PartnerCustomerCommunity)
New-PartnerWebApp -DisplayName TestIsn't this shuld have solved it? #585
What can be done?
Metadata
Metadata
Assignees
Labels
No labels