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'.
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:
- Custom connectors page
- Create from blank
- name it test
- on the General page, put test in the Host input
- go to Definition
- click New action
- enter test in the 3 inputs in the General section
- click Import from sample
- Verb: POST
- URL: https://test/test
- Body: { "test" : "" }
- Click Import
- go to Code
- click the Code Disabled switch, to turn on code
- click Create connector
- 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)