Skip to content

Add Azure CLI auth to fabric-cicd-local deploy sample - #249

Open
Rich Wellman (richwellman) wants to merge 1 commit into
microsoft:mainfrom
richwellman:add-local-auth-fabric-cicd
Open

Add Azure CLI auth to fabric-cicd-local deploy sample#249
Rich Wellman (richwellman) wants to merge 1 commit into
microsoft:mainfrom
richwellman:add-local-auth-fabric-cicd

Conversation

@richwellman

Copy link
Copy Markdown

Summary

  • Adds AzureCliCredential as the explicit token_credential for FabricWorkspace in the local deploy sample
  • Adds requirements.txt (fabric-cicd, azure-identity)
  • Adds a short usage docstring (install, az login, replace workspace ID)

Context

Hit this while following the fabric-cicd-local tutorial on Microsoft Learn — the script as written doesn't specify an auth flow, so it silently depends on fabric_cicd's implicit default credential rather than something predictable like an existing az login session.

Test plan

  • Ran python deploy.py against a test workspace after az login
  • Confirmed items published successfully

🤖 Generated with Claude Code

Adds AzureCliCredential as the explicit token_credential for FabricWorkspace
and a requirements.txt so the sample authenticates predictably against a
contributor's `az login` session instead of relying on fabric_cicd's
implicit default. Includes a short usage docstring.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@richwellman

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant