Hi
Thank you for reaching out to us on the Microsoft Q&A forum.
We tried from our end and faced no issues while completing the exercise as per the instructions mentioned in the Implementing CI/CD with GitHub Actions and IaC using Bicep module.
Below are some key points:
1.A service principal was created, and the 'Contributor' role was successfully assigned at the subscription level, allowing GitHub Actions to access and interact with Azure resources without any permission issues.
2. The az ad sp create-for-rbac
command gave the necessary credentials like clientId, clientSecret, and tenantId, which were safely added to GitHub as secrets for the CI/CD workflow.
For your reference, a screenshot has also been attached
If challenges persist, please attach relevant screenshots for further assistance, ensuring all privacy details are concealed before posting.
Thank you.
Should you find this information helpful, kindly express your acknowledgment by clicking the "Upvote" and "Accept Answer" buttons on the post.