web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Sharepoint Copliot stu...
Copilot Studio
Suggested Answer

Sharepoint Copliot studio agent

(2) ShareShare
ReportReport
Posted on by 352 Moderator
Hi
 
I have an agent created from copilot studio , i have given power platform payg on the envoriment it works on teams with the shared users. But when i deployed the agent with sharepoint channel users without 365 licence is having error . What should i do ? 
I have the same question (0)
  • Suggested answer
    Beyond The Platforms Profile Picture
    165 on at
    Hi!
    This is a known issue that comes from a combination of two factors: authentication configuration and how the PAYG billing policy is scoped. Let me break it down.
     
    Root Cause
    Your agent works fine in Teams because Microsoft Teams uses its own authentication context (Microsoft Entra ID) natively. However, when you publish to the SharePoint channel, users without a Microsoft 365 license hit an error because:
    1. Authentication mismatch — If your agent is set to "Authenticate with Microsoft", it requires a valid Microsoft 365 / Entra ID session. Users without an M365 license may not pass this gate when accessing the agent through SharePoint.
    2. PAYG billing policy not fully covering unlicensed users — Even with PAYG enabled on the environment, the billing policy must be correctly linked to an active Azure subscription in Power Platform Admin Center. If it isn't, unlicensed users have no entitlement to consume the agent and will receive an error.
     
    Fix — Follow these 3 steps in order
    Step 1 — Verify your PAYG billing policy is correctly linked
    Go to Power Platform Admin Center → Billing policies and confirm:
    - The environment where your agent lives is associated with an active Azure subscription.
    - The billing policy is not restricted to specific user groups (it should cover all users in the environment).
    If the environment is not linked, users without a license have no credits to consume and the agent will error out.
     
    Step 2 — Fix the authentication setting in Copilot Studio
    Go to Copilot Studio → Your agent → Settings → Security → Authentication and change the configuration based on your scenario:
    - Users are internal (have an Entra ID / corporate account, just no M365 license):
      → Switch from "Authenticate with Microsoft" to "Authenticate manually" and configure it with Microsoft Entra ID (formerly Azure AD). This gives you authentication without requiring an M365 Copilot license.
    - Users are external or you don't need authentication on SharePoint:
      → Set authentication to **"No authentication"**. This allows anyone with access to the SharePoint page to interact with the agent.
     
    Step 3 — Republish the agent
    After changing authentication settings, you must republish the agent. Changes do not propagate automatically to already-connected channels — a new publish is always required.
    Go to Publish → Publish and confirm. Then re-check the SharePoint channel configuration to make sure it's still correctly set up.
     
    Hope this helps!
    Paolo


    Did this solve your issue? → Accept as Solution
    👍 Partially helpful? → Click "Yes" on "Was this reply helpful?" or drop a Like!


    Want more tips on Power Platform & AI? Follow me here:

    🔗 LinkedIn: https://www.linkedin.com/in/paoloasnaghi/
    ▶️ YouTube: https://www.youtube.com/@BeyondThePlatforms
    📸 Instagram: https://www.instagram.com/beyond_the_platforms/
    🌐 Website: https://www.beyondtheplatforms.com/


     
  • Suggested answer
    Valantis Profile Picture
    4,803 on at
    Hi @arcado,

    Users without M365 Copilot license can't access your SharePoint agent due to authentication blocking—SharePoint enforces stricter checks than Teams (even with Power Platform PAYG).

    Authenticate with Microsoft" requires an M365 session; unlicensed users fail this in SharePoint.

    Quick fix:

    1. Copilot Studio > Agent > Settings > Security > Authentication → Switch to "No authentication" (safest) or "Authenticate manually" (for internal Entra ID users).

    2. Power Platform Admin Center > Billing policies → Confirm environment linked to active Azure sub.

    3. Republish the agent.



    4.  
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

     

  • arcado Profile Picture
    352 Moderator on at
    I was investgating your solutions, for the 2nd step i cant select other than Microsoft auth.
    Do you know how to solve this too?
  • arcado Profile Picture
    352 Moderator on at
     
    hi,
    I was investgating your solutions, for the 1st step i cant select other than Microsoft auth.
    Do you know how to solve this too?
  • Suggested answer
    Valantis Profile Picture
    4,803 on at
    Hi @arcado,
     
    Your environment/DLP settings are forcing "Authenticate with Microsoft," hiding "No authentication" and blocking "Authenticate manually."

    1. Power Platform admin center → Environments → [env] → Settings → Product > Features > Authentication for agents → Enable "Authenticate manually"
    2. Data policies → Unblock "Chat without Microsoft Entra ID authentication in Copilot Studio"
    3. Copilot Studio → Agent → Settings → Security → "Authenticate manually" → Save → Publish
     
    Note: Teams/SharePoint require auth; "No auth" only for custom web channels. 
     
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

     

  • arcado Profile Picture
    352 Moderator on at
    I tried undeploying the agent to all channels it is in then i was able to select no auth but in this case it didnt allow me to publish on either teams or sharepoint. 
  • Suggested answer
    Valantis Profile Picture
    4,803 on at
    Hi @arcado,
     
    what do you have here selected?
     
  • arcado Profile Picture
    352 Moderator on at
     
    it is the no auth one first one 
  • Suggested answer
    Valantis Profile Picture
    4,803 on at
    Hi @arcado,
     
     
    thanks for checking and quick answer. lets try one more thing.
    Please revert authentication back to Authenticate with Microsoft, move the Chat without Microsoft Entra ID authentication connector back to Non-business in your DLP policy, disable the Authenticate manually toggle in the environment features, then republish and redeploy both the Teams and SharePoint channels.

    I believe actual problem is your PAYG billing policy. Go to Power Platform Admin Center, open Billing then Billing policies, and check three things: your exact environment is listed under the policy, there is no security group restriction limiting which users it applies to, and the Azure subscription linked to it is active in Azure Portal.

    Once the billing policy covers all users in the environment, unlicensed users will be served by PAYG credits and the error will stop. They do need a corporate Entra ID account but do not need an M365 Copilot license.
     

    I am not sure if you have already done this, if you did and doesnt work. is there an exact error message the users without an M365 license see when they try to open the agent in SharePoint?

     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

     


     
  • arcado Profile Picture
    352 Moderator on at
    @Valantis hi again
     
    I have check in power platofrm admin center and it looks like this
      in the correct envoriment . it was ok in teams
    and there is no dlp on whole tenant

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 704

#2
Vish WR Profile Picture

Vish WR 249

#3
Haque Profile Picture

Haque 244

Last 30 days Overall leaderboard