Skip to content

Windows self-hosted agent #1897

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

You must be logged in to vote

@BernieWhite - Thank you for the quick reply.

Below is the error. I have triple checked the App ID, App Secret, and tenant ID that is passed through from a variable group.

Odd, though as it was all working on ubuntu ms-hosted agent.

#[error]Bicep (0.11.1) compilation of 'C:\a\1\s\newImage\bicep\imagebuilder.bicep' failed with: C:\a\1\s\newImage\bicep\imagebuilder.bicep(253,11) : Error BCP192: Unable to restore the module with reference "br:exgprdukacr001.azurecr.io/bicep/modules/microsoft.resources.resourcegroups:0.4.1527": Unhandled exception: System.ArgumentException: Invalid tenant id provided. You can locate your tenant id by following the instructions listed here: https://docs.micros…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@BernieWhite
Comment options

@maxricketts
Comment options

@BernieWhite
Comment options

@BernieWhite
Comment options

@maxricketts
Comment options

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