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 / Error when creating a ...
Copilot Studio
Unanswered

Error when creating a chatbot using Power Virtual agent in MS Pro Dev environment

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, I recently got access to the MS Pro Dev environment. I am creating a chatbot using Power Virtual agent in Microsoft Team. The use case needs an action to be triggered to a Power Automate flow. The flow will make a call to an external API (likely an Azure function) and return the result to the virtual agent.

 

When I try to create an action from the Power Virtual agent in the MS Pro Dev environment, I am getting the following error:

PankajGoel_0-1678430263692.png

 

I am able to create bots using the MS Personal productivity environment. Can you help resolve this issue?

I have the same question (0)
  • peterswimm Profile Picture
    Microsoft Employee on at

    This is a DLP error; you either need to get permissions from your environment admin, or create the app in a new environment.

  • PG-07080456-0 Profile Picture
    Microsoft Employee on at

    Thanks Peter. I am able to create Power automate flows in the same environment without any issues. I do have access to the MS Pro dev environment.

     

    I am able to create the Power Virtual agent chatbots in the default environment but get error in the MS Pro dev environment.

     

    What additional permissions are needed for this?

  • peterswimm Profile Picture
    Microsoft Employee on at

    You can review setting up PVA for an environment here: https://learn.microsoft.com/en-us/power-virtual-agents/environments-first-run-experience

     

    If you do not have access to any of those steps you will need to contact the environment admin for help.

  • PG-07080456-0 Profile Picture
    Microsoft Employee on at

    Hi Peter, I went through the document and followed the steps in "Create a bot in an existing environment" section. I then followed the steps in the link: Create conversational chatbots - Power Virtual Agents | Microsoft Learn

     

    I am still getting the following error. If this is a permission error, can you suggest how this can be resolved?

    Request REQ_ID 773cd291-0ee7-485d-a5d9-f76f4800c97b AuthTicketId failed with error BadRequest (Bad Request): {"error":{"code":"0x80040299","message":"Principal user (Id=308d360e-4d87-ea11-a817-000d3a19be97, type=8, roleCount=1, privilegeCount=0, accessMode=0), is missing prvReadbot privilege (Id=15c8ba91-b24e-49af-83c2-d6cd71377509) on OTC=10086 for entity 'bot' (LocalizedName='Chatbot'). context.Caller=308d360e-4d87-ea11-a817-000d3a19be97. Or identityUser.SystemUserId=6c3fab50-ca57-44e6-b83b-6f9d2fb9035a, identityUser.Privileges.Count=5803, identityUser.Roles.Count=0 is missing prvReadbot privilege (Id=15c8ba91-b24e-49af-83c2-d6cd71377509) on OTC=10086 for entity 'bot' (LocalizedName='Chatbot')."}}
    Trace ID: Trace id not available. Headers: {"content-type":"application/json","x-ms-activity-vector":"00.00.00.00","x-ms-islandgateway":"GA0000003","x-ms-service-request-id":"a4094cd2-35e1-474b-97f3-7f70cadf6b08"}
  • HenryJammes Profile Picture
    Microsoft Employee on at

    Hi @PankajGoel,

    Your error message looks like a permission issue. Does your user either have System Administrator, System Customizer, or Environment Maker? You seem to be missing the privilege to read chatbots.

    Henry

  • PG-07080456-0 Profile Picture
    Microsoft Employee on at

    Indeed. Thanks Henry. I was missing the environment maker role which should have been assigned along with the environment access. I have got it now and can create the agent.

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 586

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard