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

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Suggested answer

Pac Code Push Error

(0) ShareShare
ReportReport
Posted on by 4
I have Code apps enabled in my environment however if I use pac code push i still get this error 
Error: There was an error in pushing the app: bolt.authentication.http.AuthenticatedClientException: The environment '06b223a6-1be1-ec6d-b141-7957265e2452' in tenant '0bb7071a-01ca-4f14-9fcf-1b77cc51506d' does not allow this operation for this Code app '91169b08-1456-4d88-98de-3e366da2df5f'. Please reach out to your environment admin to enable Code app operations. 
I have the same question (2)
  • Suggested answer
    JS-04091456-0 Profile Picture
    4 on at
    Pac Code Push Error
    It worked after reauthing and selecting the environment AND specifying the environment again in the push command 
  • Kushal_M Profile Picture
    35 on at
    Pac Code Push Error
    Hello  
     
    Please check the below points and see if that works for you.
     
    1. You need to be either an Environment Admin or have the System Administrator in Dataverse (Code App Deployment privilege). Being just a Maker may not work.

    2. Hope you have selected correct environment for enabling the feature. Please follow to double check that Code apps are enabled for that environment (06b223a6-1be1-ec6d-b141-7957265e2452).

    • Select the environment (06b223a6-1be1-ec6d-b141-7957265e2452).

    • Under Settings → Product → Features, look for Code apps.

    • Make sure Code apps are enabled here.

    3. Retry the push

    Once Code apps are enabled in that environment and you have the right role, re-run: pac code push

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 977 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 386 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 345

Last 30 days Overall leaderboard