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 - Connector Development
Unanswered

Creating a custom connector, with code, was working, now getting an error

(1) ShareShare
ReportReport
Posted on by 4
I have created 3 custom connectors that use code and had no issue.
 
All of a sudden, on 11-sep-2024, I started getting the following error when trying to create a new custom connector:
 
Failed to provision compute for custom code. Request failed with error 'Code: BadRequest. Message: Unable to find an unassigned function app in 'USGov Virginia'.'. The correlation Id is '9ba3159d-81c6-4688-ad61-af69e3e7f14a'.
 
The first connector I created I used this code example (csv-to-json), followed the directions, and it was created.
When I started receiving the error above I tried creating the csv-to-json again, which had successfully created previously, and now it's receiving the above errors.
 
If I create a test custom connector from blank and do not enable Code, it will create. After that test connector creates, if I enable Code and Update the connector, I receive the above error.
 
No matter what Power Platform environment I choose, I get the above error.
But it was all working perfectly up until about midday on 11-sep-2024.
 
I searched Google and found only 3 other instances of the above message (one, two, three), with no answers.
 
Could something have changed within the cloud configuration, to no longer allow code connectors?
 
Steps creating from blank, trying to figure this out:
  1.  Custom connectors page
  2.  Create from blank
  3.  name it test
  4.  on the General page, put test in the Host input
  5.  go to Definition
    1.  click New action
    2.  enter test in the 3 inputs in the General section
    3.  click Import from sample
    4.  Verb: POST
    5.  URL: https://test/test
    6.  Body: { "test" : "" }
    7.  Click Import
  6.  go to Code
  7.  click the Code Disabled switch, to turn on code
  8.  click Create connector
  9.  the error appears at the top
(in the Categories box for this post, it only shows me Authentication and Policy Templates - neither of those categories fit but I had to choose one)
Categories:
I have the same question (1)
  • Greg_M Profile Picture
    6 on at
    Creating a custom connector, with code, was working, now getting an error
    Hi,
     
    I'm having the same issue.
    Did you figure out the problem or find a workaround?

    Thank you
    Greg

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…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 790 Most Valuable Professional

#2
developerAJ Profile Picture

developerAJ 473

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 383 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics