Skip to main content

Notifications

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:

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard

Featured topics