SharePoint API REST (Create Group Error) Postman

Rachid B 26 Reputation points
2022-10-25T14:18:19.333+00:00

Hello Everyone,

I cant create group using sharepoint API REST via Postman Can you help me please ?

Acces Denied,

253973-image.png

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,401 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dillon Silzer 49,511 Reputation points
    2022-10-25T17:17:01.35+00:00

    Hi @Rachid B

    Please use the following troubleshooting steps and diagnostics to check your access to the SharePoint site:

    "Access Denied" or "You need permission to access this site" errors in SharePoint Online and OneDrive for Business

    https://learn.microsoft.com/en-us/sharepoint/troubleshoot/administration/access-denied-or-need-permission-error-sharepoint-online-or-onedrive-for-business

    The user account that you are trying to make a REST API call with must have read permission to the entire site.

    ------------------------------------------

    If this is helpful please accept answer.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Tong Zhang_MSFT 9,101 Reputation points
    2022-10-26T07:21:43.54+00:00

    Hi @Rachid B ,

    According to my research and testing, please make sure you have permission to access the site. Also, if you want to create Groups, you should have Full Control permission.

    More information for reference:
    "Access Denied" or "You need permission to access this site" errors in SharePoint Online and OneDrive for Business

    Hope it can help you. Thanks for your understanding.


    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.


    0 comments No comments

  2. Rachid B 26 Reputation points
    2022-10-26T10:21:26.067+00:00

    Thanks for the answer,

    I fixed this by giving APP FullControl

    Link : https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs

    Thanks,

    0 comments No comments