Skip to content

How to use custom Azure Idenity token credential with JobHostConfiguration instead of connection string  #3075

Open
@ShreyaMicrosft0306

Description

Please provide a succinct description of the issue.

How to use custom Azure Idenity token credential with JobHostConfiguration instead of connection string

Provide the steps required to reproduce the problem

JobHostConfiguration in Microsoft.Azure.WebJobs.Host
var host=new JobHostConfiguration(_tableStorageConnectionString)

we are currently initializing host as above using tableStorageConnectionString
but we want to leverage tokencredentials where we can authenticate using our first party app
can you please help with how we can achieve that?

want to pass the token something like this
Dependency injection with the Azure SDK for .NET - .NET | Microsoft Learn

Expected behavior

Unable to pass First party token to JobhostConfiguration

Actual behavior

Provide a description of the actual behavior observed.

Known workarounds

NA

Related information

Provide any related information

  • Package version 2.2.0
  • Links to source

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions