the following code (which has always worked before) now returns a blank site_id, which my app needs to function: client = SharePointClient(tenant_id, client_id, client_secret, resource) site_id = client.get_site_id(site_url)

Jim LeKachman 0 Reputation points
2025-06-26T23:09:55.98+00:00

I have an app which lists all the folders and files on my sharepoint site. It stopped working after working without issue for 6 months. My client secret had expired so I created a new one as directed. My app is still not working, and specifically, it is returning a blank site_id. I am hoping someone can point me in the right direction. I am not a professional developer and I find the Microsoft support process unusable. Thank you.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.