Skip to content

CI/CD to Azure tenant, fetch client error #3506

Answered by tabit01
tabit01 asked this question in Q&A
Discussion options

You must be logged in to vote

So the solution was twofold, it seems.

  1. Upload certificate file to AppRegistration in Azure
  2. Use arguments for Client ID and Tenant ID in login script:
- script: m365 login --authType certificate --certificateFile $(certificate.secureFilePath) --password $(m365_certificate_password) --appId <CLIENT ID> --tenant <TENANT ID>
          displayName: Login to Microsoft 365

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
2 replies
@tabit01
Comment options

@nanddeepn
Comment options

Comment options

You must be logged in to vote
9 replies
@tabit01
Comment options

@waldekmastykarz
Comment options

@tabit01
Comment options

@tabit01
Comment options

@waldekmastykarz
Comment options

Comment options

You must be logged in to vote
1 reply
@martinlingstuyl
Comment options

Answer selected by tabit01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants