Skip to content

[BUG] fabric warehouse connection with service principal authentication fails with error "Unsupported creation method" #701

@pedrorebelo782

Description

@pedrorebelo782

🐛 What happened?

When attempting to create a Fabric connection to a Data Warehouse using Service Principal authentication, it's failing with error "Unsupported creation method. The creation method is not supported":

Image

the respective block being used is as below:

{
 "credentialDetails": {
   "skipTestConnection": false,
   "connectionEncryption": "NotEncrypted",
   "credentials": {
     "tenantId": "<tenantId>",
     "servicePrincipalClientId": "<servicePrincipalClientId>",
     "servicePrincipalSecret": "<servicePrincipalSecret>",
     "credentialType": "ServicePrincipal"
   }
 },
 "displayName": "<displayName>",
 "connectivityType": "ShareableCloud",
 "connectionDetails": {
   "type": "Warehouse",
   "creationMethod": "Fabric.Warehouse",
   "parameters": []
 },
 "privacyLevel": "Organizational"
}

When checking this API - https://learn.microsoft.com/en-us/rest/api/fabric/core/connections/list-supported-connection-types?tabs=HTTP#connectioncreationmetadata - the method shows up as listed:

Image

also, if we test changing to just "Warehouse" instead of "Fabric.Warehouse", the new error even mentions that "Fabric.Warehouse" is the supported value:

Image

versions being used are: Terraform v1.11.4 and Fabric Provider v1.6.0.

🔬 How to reproduce?

No response

🏗️ Code Sample / Log

No response

📷 Screenshots

No response

📈 Expected behavior

No response

🌌 Environment (Provider Version)

1.6.0

🌌 Environment (Terraform Version)

1.11.4

🌌 Environment (OS)

Windows

📎 Additional context

No response

🔰 Code of Conduct

  • I agree to follow this project's Code of Conduct.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions