Challenges in Moving Files from Private SharePoint Group Folders to Archive Sites in the SharePoint Admin Center

Fahad Khan 0 Reputation points
2024-09-30T07:05:53.3666667+00:00

Objectives: We are moving files from specific folders within our private SharePoint group to archive sites in the SharePoint Admin center, but we are encountering issues during the process.

1. We are not seeing any data on the API access page.

Here is the link:

https://associationsglobal-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx?modern=true#/webApiPermissionManagement

2. What are we doing basically?
We have the SharePoint API endpoints, and we're sending requests through Postman. However, it's giving an error that says, "Access to the resource is prohibited.

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,624 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
348 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ling Zhou_MSFT 18,635 Reputation points Microsoft Vendor
    2024-10-01T02:05:47.83+00:00

    Hi @Fahad Khan,

    Thank you for posting in this community.

    Based on the description of your question, it seems that you are using SharePoint API. But I am not quite sure whether you are using SharePoint Rest API or SharePoint Graph API. as these are not the same APIs, could you also please let me know.

    For your first question:

    SharePoint Framework solutions is managed in API access page, please make sure that you are adding SharePoint Framework solutions and not SharePoint Add-ins. If you are adding the correct object, I would suggest to re-add it again here by following the steps in this article.

    Manage apps using the Apps site.

    User's image

    For your second question:

    Here are some steps you can take to troubleshoot and resolve this error:

    1. Verify Permissions: Ensure that the user account you’re using has the necessary permissions to access the resource. You might need to check with your SharePoint administrator to confirm the required permissions.
    2. Check Authentication Tokens: SharePoint Online uses security tokens to authenticate users. If your tokens have expired or are invalid, you will receive this error. Try refreshing your tokens or obtaining new ones.
    3. Correct Site Context: Make sure you are using the correct URL for the SharePoint site where the resource is located. Double-check the URL in your API request.
    4. Form Digest Value: Ensure that you are including a valid form digest value in your request headers. This value is necessary for making authenticated requests to SharePoint.
    5. Network and Firewall Restrictions: Verify that there are no network or firewall restrictions blocking the communication between your application and the SharePoint server.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.