© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3w ago•
1 reply
malkav

SharePoint CSOM

intermediate
I have been looking high an low for an answer but I am at a loss..

I'm trying to use CSOM and PnP framework to find out where a site that has
Template
Template
set to
REDIRECTSITE#0
REDIRECTSITE#0
leads to.
Online I find that
site.Url
site.Url
or
site.Description
site.Description
should lead to its target location, but all I find in all of its data is where it originates from.

I have even tried to use a standard
GET
GET
on HttpClient (or fetch() in js) to follow the redirect, but since I'm using a certificate to authenticate to the tenant, I'm only running into
401 Unauthorized
401 Unauthorized
blocks.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Sharepoint CSOM API Scopes on Azure AD
C#CC# / help
3y ago
I need help with SharePoint CSOM and Managed Metadata columns please
C#CC# / help
15mo ago
❔ Pull Excel Sharepoint Data
C#CC# / help
3y ago
❔ Sharepoint REST API 401 Error
C#CC# / help
3y ago