SharePoint Online & SharePoint Web Services Access without License

Lipi 1 Reputation point
2022-02-28T05:18:03.343+00:00

I am facing an issue on my QA tenant. I have a SPFX created which is doing CRUD operation in SharePoint Online Lists and Libraries. I have used PnP Js for the rest calls. For a E3 standard license person that is working smoothly without 401 error but for users who don't have the license assign it is working sometimes and sometimes it is failing with 401 error.

For unlicensed user that scenario of getting failed is also not consistent. In between the process after inserting one item in the list it is getting failed with 401.

Can anyone help me to know the reason about this inconsistent behavior. If E3 license is required for users to use and interact with SharePoint Online and SharePoint web service then it has to fail from the beginning. Why it is allowing to perform some tasks and getting failed in between.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,817 questions
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.
3,040 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. RaytheonXie_MSFT 36,171 Reputation points Microsoft Vendor
    2022-02-28T08:49:18.533+00:00

    Hi @Lipi ,
    SharePoint Online doesnt really enforce license requirements, so users without license can still access content. Permissions are not dependant on the license either, if you want to restrict them use the SPO permission model. Internal users without licenses will be able to see content to which they have permissions, but will not be able to make any changes.
    External users will be able to do whatever they have been giver permission to do.
    You don't need to assign licenses to external users, please refer to the following document
    https://learn.microsoft.com/en-us/sharepoint/external-sharing-overview?redirectSourcePath=%252fen-us%252farticle%252fManage-external-sharing-for-your-SharePoint-Online-environment-C8A462EB-0723-4B0B-8D0A-70FEAFE4BE85


    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.


    1 person found this answer helpful.

  2. Lipi 1 Reputation point
    2022-03-30T06:06:42.067+00:00

    @RaytheonXie_MSFT sorry for the late revert. But no still we are facing the issue and it is not resolved yet.

    0 comments No comments

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.