Replies: 7 comments 10 replies
-
hi @SpodoY , looks like you might be using PnP PowerShell in combination with some other modules such as Az or Graph. Can you please try using it standalone and then try , i.e just open PowerShell 7.2.x or higher and then enter the |
Beta Was this translation helpful? Give feedback.
-
As a follow up, it seems like the the PnP.Powershell Module has problems when used in conjunction with the SqlServer Module. When it split my script in two seperate scripts (one for the database query, one for PnP) it suddenly worked. @gautamdsheth Can I provide any additional info so you could verify this? |
Beta Was this translation helpful? Give feedback.
-
I have encountered the same issue. The following is the detail description. When I use the Microsoft.Online.SharePoint.PowerShell and SharePointPnPPowerShellOnline modules together and try to import them, the PnP module always failed to be loaded. This same name internal module of Microsoft.Online.SharePoint.Client.Tenant with different versions may bring out the failure of loading. Please take a check. I hope this will be a little helpful for you. @gautamdsheth |
Beta Was this translation helpful? Give feedback.
-
Greatly appreciate your comments.
I will try the new module again. Thanks again.
|
Beta Was this translation helpful? Give feedback.
-
This issue should now have been fixed in latest nightly build: |
Beta Was this translation helpful? Give feedback.
-
这是来自QQ邮箱的自动回复邮件。
您好,您的邮件我已经收到!十分感谢来信!
|
Beta Was this translation helpful? Give feedback.
-
The issue with colliding assemblies should now be fixed! |
Beta Was this translation helpful? Give feedback.
-
Reporting an Issue or Missing Feature
When I try to execute 'Connect-PnPOnline' with a given URL and a PSCredential Object I get the following error:
Expected behavior
I get a connection to my site
Actual behavior
Steps to reproduce behavior
$credObject = New-Object System.Management.Automation.PSCredential -ArgumentList $username, $securePwd
Connect-PnPOnline -Url $SiteURL -Credentials $credObject
What is the version of the Cmdlet module you are running?
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions