You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error parsing GetSitePropertiesByUrl with ExecuteQueryRetryAsync extension from PnP.Framework. Microsoft.Online.SharePoint.TenantAdministration.EsignatureThirdPartyProvidersInfo
#982
Open
magarma opened this issue
Feb 8, 2024
· 0 comments
Hi,
not sure if it's the proper place to log this issue, but as we are using the PnP.Framework....
We have some code that is using the method from Tenant GetSitePropertiesByUrl... something like this
We are using the PnP extension for doing the Query with Retries... The issue is that, it seems that the nightly PnP.Core included as dependency has an issue parsing the response and it's giving the following exception
System.InvalidCastException: Unable to cast object of type 'System.String' to type 'Microsoft.Online.SharePoint.TenantAdministration.EsignatureThirdPartyProvidersInfo'.\r\n at Microsoft.SharePoint.Client.JsonReader.ReadT\r\n at Microsoft.SharePoint.Client.JsonReader.ReadListT\r\n at Microsoft.Online.SharePoint.TenantAdministration.Tenant.InitOnePropertyFromJson(String peekedName, JsonReader reader)\r\n at Microsoft.SharePoint.Client.ClientObject.FromJson(JsonReader reader)\r\n at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)\r\n at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()\r\n at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServerAsync(ChunkStringBuilder sb)\r\n at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryAsync()\r\n at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQueryAsync()\r\n at Microsoft.SharePoint.Client.ClientContext.ExecuteQueryAsync()\r\n at Microsoft.SharePoint.Client.ClientContextExtensions
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
not sure if it's the proper place to log this issue, but as we are using the PnP.Framework....
We have some code that is using the method from Tenant GetSitePropertiesByUrl... something like this
We are using the PnP extension for doing the Query with Retries... The issue is that, it seems that the nightly PnP.Core included as dependency has an issue parsing the response and it's giving the following exception
System.InvalidCastException: Unable to cast object of type 'System.String' to type 'Microsoft.Online.SharePoint.TenantAdministration.EsignatureThirdPartyProvidersInfo'.\r\n at Microsoft.SharePoint.Client.JsonReader.ReadT\r\n at Microsoft.SharePoint.Client.JsonReader.ReadListT\r\n at Microsoft.Online.SharePoint.TenantAdministration.Tenant.InitOnePropertyFromJson(String peekedName, JsonReader reader)\r\n at Microsoft.SharePoint.Client.ClientObject.FromJson(JsonReader reader)\r\n at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)\r\n at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()\r\n at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServerAsync(ChunkStringBuilder sb)\r\n at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryAsync()\r\n at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQueryAsync()\r\n at Microsoft.SharePoint.Client.ClientContext.ExecuteQueryAsync()\r\n at Microsoft.SharePoint.Client.ClientContextExtensions
Thanks.
The text was updated successfully, but these errors were encountered: