This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 661
[BUG] Initialize-PnPPowerShellAuthentication: throws Exception after authentication #2853
Closed
2 tasks
Labels
Comments
we have already installed 3.2.4 and we have received the same error. we are not able to install 3.21. |
Also fails with SharePointPnPPowerShellOnline 3.24.2008.1 |
I can confirm this will fail with all versions of PnP PowerShell that have this cmdlet available. The backend API has changed and we have to update our calls. -- Update: it turned out to be a serialization issue of our payload. |
It has been fixed in the dev branch and the next release will contain this fix. |
When this will be fixed
Regards
Sankarasubramanian Parameswaran
Mobile : 202-597-2969
Email : sparameswaran@wmata.com
…________________________________
From: Erwin van Hunen <notifications@github.com>
Sent: Saturday, August 22, 2020 6:04:00 AM
To: pnp/PnP-PowerShell <PnP-PowerShell@noreply.github.com>
Cc: Parameswaran, Sankarasubramanian <SParameswaran@wmata.com>; Comment <comment@noreply.github.com>
Subject: <External>Re: [pnp/PnP-PowerShell] [BUG] Initialize-PnPPowerShellAuthentication: throws Exception after authentication (#2853)
CAUTION:This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and have verified the authenticity of the message.
I can confirm this will fail with all versions of PnP PowerShell that have this cmdlet available. The backend API has changed and we have to update a calls.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fpnp%2FPnP-PowerShell%2Fissues%2F2853%23issuecomment-678621695&data=02%7C01%7Csparameswaran%40wmata.com%7C0abba1e730df4664f1a808d84682b250%7Cad5836f40d7443cd83c57e69eaa67915%7C0%7C0%7C637336874449692422&sdata=f9gPyg5CaNRq03WEZlyWSyMfy76NFkawPhKbhEF1PlY%3D&reserved=0>, or unsubscribe<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fnotifications%2Funsubscribe-auth%2FAHGCZI33H7DHRBAK5GUVCHDSB6JZBANCNFSM4QDNSXPQ&data=02%7C01%7Csparameswaran%40wmata.com%7C0abba1e730df4664f1a808d84682b250%7Cad5836f40d7443cd83c57e69eaa67915%7C0%7C0%7C637336874449692422&sdata=ns5%2B5bL8g3HM2CujKoxmqButkU6Bb%2Fn%2Fhu4Df%2F4RDxw%3D&reserved=0>.
|
It is fixed in the Dev branch.
It will be in released to production in the September release which will be in September.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: sparameswaran78 <notifications@github.com>
Sent: Saturday, August 22, 2020 3:00:53 PM
To: pnp/PnP-PowerShell <PnP-PowerShell@noreply.github.com>
Cc: Nigel Price <pricen@njpenterprises.com>; Comment <comment@noreply.github.com>
Subject: Re: [pnp/PnP-PowerShell] [BUG] Initialize-PnPPowerShellAuthentication: throws Exception after authentication (#2853)
When this will be fixed
Regards
Sankarasubramanian Parameswaran
Mobile : 202-597-2969
Email : sparameswaran@wmata.com
________________________________
From: Erwin van Hunen <notifications@github.com>
Sent: Saturday, August 22, 2020 6:04:00 AM
To: pnp/PnP-PowerShell <PnP-PowerShell@noreply.github.com>
Cc: Parameswaran, Sankarasubramanian <SParameswaran@wmata.com>; Comment <comment@noreply.github.com>
Subject: <External>Re: [pnp/PnP-PowerShell] [BUG] Initialize-PnPPowerShellAuthentication: throws Exception after authentication (#2853)
CAUTION:This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and have verified the authenticity of the message.
I can confirm this will fail with all versions of PnP PowerShell that have this cmdlet available. The backend API has changed and we have to update a calls.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fpnp%2FPnP-PowerShell%2Fissues%2F2853%23issuecomment-678621695&data=02%7C01%7Csparameswaran%40wmata.com%7C0abba1e730df4664f1a808d84682b250%7Cad5836f40d7443cd83c57e69eaa67915%7C0%7C0%7C637336874449692422&sdata=f9gPyg5CaNRq03WEZlyWSyMfy76NFkawPhKbhEF1PlY%3D&reserved=0>, or unsubscribe<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fnotifications%2Funsubscribe-auth%2FAHGCZI33H7DHRBAK5GUVCHDSB6JZBANCNFSM4QDNSXPQ&data=02%7C01%7Csparameswaran%40wmata.com%7C0abba1e730df4664f1a808d84682b250%7Cad5836f40d7443cd83c57e69eaa67915%7C0%7C0%7C637336874449692422&sdata=ns5%2B5bL8g3HM2CujKoxmqButkU6Bb%2Fn%2Fhu4Df%2F4RDxw%3D&reserved=0>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#2853 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACAXJUCXCDUTHN6H4CBHQMTSB7FRLANCNFSM4QDNSXPQ>.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Reporting an Issue or Missing Feature
I was following the guide Getting started with the SharePoint modernization scanner (https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-scanner) and I encountered the following issue at the step Using Initialize-PnPPowerShellAuthentication to setup Azure AD App-Only:
Initialize-PnPPowerShellAuthentication : Exception while invoking endpoint https://graph.microsoft.com/beta/applications.
At line:1 char:1
This only occurred when I was using the latest version of the SharePointPnPPowerShellOnline module (3.24.2008.0), when I uninstalled that version and installed a previous version (3.21.2005.1) the issue didn't occur and the app registration was successfull.
Expected behavior
App Registration is successfull.
Actual behavior
Received the following error:
Initialize-PnPPowerShellAuthentication : Exception while invoking endpoint https://graph.microsoft.com/beta/applications.
At line:1 char:1
Steps to reproduce behavior
Failure
Initialize-PnPPowerShellAuthentication -ApplicationName ModernizationScannerAppTest -Tenant contoso.onmicrosoft.com -Scopes "SPO.Sites.FullControl.All","MSGraph.Group.Read.All" -OutPath c:\temp -CertificatePassword (ConvertTo-SecureString -String "password" -AsPlainText -Force)
Succes
Initialize-PnPPowerShellAuthentication -ApplicationName ModernizationScannerAppTest -Tenant contoso.onmicrosoft.com -Scopes "SPO.Sites.FullControl.All","MSGraph.Group.Read.All" -OutPath c:\temp -CertificatePassword (ConvertTo-SecureString -String "password" -AsPlainText -Force)
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
Failure: 3.24.2008.0
Success: 3.21.2005.1
How did you install the PnP-PowerShell Cmdlets?
The text was updated successfully, but these errors were encountered: