-
Notifications
You must be signed in to change notification settings - Fork 177
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
New-TestResources.ps1 -TestApplicationId should not be required #485
Comments
Thinking about this more, maybe they are since they pass through to set environment variables. We need to think end-to-end to be sure. |
If if we do need these in some cases we should either take the SP directly and pull the values or even consider creating the SP on the behalf the users that need one. |
Maybe, but this was optimized for CIs that have separate secret variables for tenant, client ID, and client secret. As long as we can log into with those values (should be able to - we are in the script) within the CI and pass the |
Automatic SP creation would make local developer scenarios so much better! |
What role should they have in an organization by default? We document a default, but someone knowledgeable in a constrained subscription could figure out what they need. It's questions like that why we left it up to the user and would need to be solved before we start creating SPs on behalf of users. |
Owners of the test resource group, no organization wide permissions. |
I'll take a look at this while looking at some other clean-up stuff. |
|
You can run without the |
Looks like if I do that, I can't specify my subscription Id? |
Pass it when you log in with |
That works, thanks. Super weird that in one case subscription Id is explicit, and in the other it is inferred. |
It's only used for provisioning, and one parameter set is to provide parameters for provisioning instead of relying on the currently logged in user. We use the former parameter set for CIs. |
Some resources don't use SPs other than to provision (which logging in takes care of), so we should not require the TestApplication* parameters.
The text was updated successfully, but these errors were encountered: