cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Import Azure function - Select security scheme does not allow me to set API-Key

I'm having an issue selecting the security scheme when exporting an azure function to Flow/PowerApps. It's not allowing me to select "API Key" as per this example:

 

https://docs.microsoft.com/nl-be/azure/azure-functions/app-service-export-api-to-powerapps-and-flow

 

Instead the dropdown just contains "none".

 

I'm using the express method to export my azure function. 

 

Here is my swagger file:

 

swagger: '2.0'
info:
  title: xxx.azurewebsites.net
  version: 1.0.0
host: xxx.azurewebsites.net
basePath: /
schemes:
  - https
  - http
paths:
  /api/HttpTriggerCSharp1:
    post:
      operationId: /api/HttpTriggerCSharp1/post
      produces:
        - application/json
      consumes:
        - multipart/form-data
      parameters:
        - name: file
          in: body
          description: Image to import
          x-ms-summary: Image to import
          x-ms-visibility: important
          required: true
          schema:
            type: string
            format: binary
      responses:
        '200':
          description: Success operation
      security:
        - apikeyQuery: []
definitions: {}
securityDefinitions:
  apikeyQuery:
    type: apiKey
    name: code
    in: query

 

Who can help me?

1 REPLY 1
Highlighted
Helper IV
Helper IV

Re: Import Azure function - Select security scheme does not allow me to set API-Key

Hi ,

 

It seems that this is a Thread similar to your issue, and seems to have been resolved, for reference:

https://powerusers.microsoft.com/t5/Connecting-To-Data/Export-express-mode-azure-function-api-to-Flo...

 

Regards.

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (6,458)