Skip to content

Set-AzSynapseLinkedService Overriding Azure Function Auth Method #22567

Open
@jreitz43

Description

@jreitz43

Description

Possible Similar Support Issues
This may be the same issue as Issue 21930
Summary
While invoking "Set-AzSynapseLinkedService" against an Azure Function linked service, using the System Assigned Managed Identity authentication type in the source reference file, the command succeeds and correctly deploys everything in the source code definition file, but overrides the authentication type with "Anonymous". instead of the correct authentication method value in the definition file of "MSI"
Command
Set-AzSynapseLinkedService -WorkspaceName <workspace name> -Name <azure function linked service name> -DefinitionFile <definition file location>
Definition File Json
image
Output
image

Issue script & Debug output

Set-AzSynapseLinkedService -WorkspaceName <workspace name> -Name <azure function linked service name> -DefinitionFile <definition file location>

Environment data

PS C:\WINDOWS\system32> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.17763.4644
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.4644
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Module versions

ModuleType      Version     Name             ExportedCommands
----------      -------     ----             ---------------
Script          2.12.5      Az.Accounts      {Disable-AzDataCollection, Disable-AzContextAutosave, Enab...
Script          2.2.0       Az.Synapse       {Get-AzSynapseSparkJob, Stop-AzSynapseSparkJob, Submit-AzS...

Error output

No error output, succeeds and correctly deploys everything else in the source code definition file, but overrides authentication method with Anonymous (see screenshots).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service AttentionThis issue is responsible by Azure service team.SynapsebugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions