Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed deprecated flag --sdk-auth #78

Merged
merged 2 commits into from
Apr 30, 2024
Merged

Removed deprecated flag --sdk-auth #78

merged 2 commits into from
Apr 30, 2024

Conversation

51lver
Copy link
Contributor

@51lver 51lver commented Apr 29, 2024

Summary

The flag --sdk-auth for az ad sp command has been deprecated and will be removed in a future release
A warning will be issued if this step is executed in the lab.
image

Changes

Removing the deprecated --sdk-auth flag for Step 2

Please also take a look at this comment: issue, since the problem becomes bigger - it's not possible to authorize with azure/login Action using the az ad sp (without --sdk-auth), because the outputs are not valid for AZURE_CREDENTIALS

Task list

  • For workflow changes, I have verified the Actions workflows function as expected.
  • For content changes, I have reviewed the style guide.

@chadfawcett chadfawcett requested a review from a team April 29, 2024 18:47
@heiskr
Copy link
Contributor

heiskr commented Apr 30, 2024

Hmmm I'm a bit unclear here on what to do. Is it broken either way?

@51lver
Copy link
Contributor Author

51lver commented Apr 30, 2024

Hey @heiskr
I think we can just rephrase this step
image
It should work if we put the credentials like this (instead of creds: ${{ secrets.AZURE_CREDENTIALS }})
image

@51lver
Copy link
Contributor Author

51lver commented Apr 30, 2024

@heiskr
I've adjusted the guide. Please check 😃

Copy link
Contributor

@heiskr heiskr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update :) Since this course isn't in the best state, I'll go head and merge for now

@heiskr heiskr merged commit 681b464 into skills:main Apr 30, 2024
hectorsector added a commit that referenced this pull request Jul 9, 2024
@hectorsector hectorsector mentioned this pull request Jul 9, 2024
2 tasks
hectorsector added a commit that referenced this pull request Jul 10, 2024
* Revert "Removed deprecated flag --sdk-auth (#78)"

This reverts commit 681b464.

* fix indents and numbering for step 1

* fix indents and numbering for step 2

* fix indents and numbering for step 3

* update subscription id example

* use CR_PAT for GCR stuffs, with write permissions

* Update .github/steps/2-setup-azure-environment.md

Co-authored-by: Kevin Heis <[email protected]>

---------

Co-authored-by: Kevin Heis <[email protected]>
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.

2 participants