-
Notifications
You must be signed in to change notification settings - Fork 39
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
Confusing "Getting Your AppId" section in SETUP #63
Comments
Hi @martinsuchan -- thanks for the feedback. Regarding your second issue first, the issue in your case was piping the result from the second command (the For your first issue, I will update the documentation to also indicate that users can find the |
Regarding the error, I understand how piping commands work, but it might be more useful to throw "Format-Application -> ApplicationData is null" rather then trying to call Write-Log with null value. |
Ah, I missed it was I have separately updated the documentation both with your suggestion for alternatively grabbing it from the Dev Portal, as well as some clarification that users can also simply run |
@martinsuchan reported that SETUP.md was a bit confusing regarding how to get the `AppId`. I've updated the section to indicate how to get it from the DevPortal directly, as well as how to get it with a simplified piping command (without the `Where-Object`). Additionally, this removes the restriction on `Write-Log` that message must be non-null/empty. Requiring a non-null/empty string resulted in error messages that focused on bad input to `Write-Log`, which should really be a black-box command to users of StoreBroker. Instead, we'll let empty strings be logged, which should cause users to look into the command that they were executing instead. This is more in-line with how PowerShell default commands handle situations where there is no result. Resolves microsoft#63 - Confusing "Getting Your AppId" section in SETUP
@martinsuchan reported that SETUP.md was a bit confusing regarding how to get the `AppId`. I've updated the section to indicate how to get it from the DevPortal directly, as well as how to get it with a simplified piping command (without the `Where-Object`). Additionally, this removes the restriction on `Write-Log` that message must be non-null/empty. Requiring a non-null/empty string resulted in error messages that focused on bad input to `Write-Log`, which should really be a black-box command to users of StoreBroker. Instead, we'll let empty strings be logged, which should cause users to look into the command that they were executing instead. This is more in-line with how PowerShell default commands handle situations where there is no result. Resolves microsoft#63 - Confusing "Getting Your AppId" section in SETUP
@martinsuchan reported that SETUP.md was a bit confusing regarding how to get the `AppId`. I've updated the section to indicate how to get it from the DevPortal directly, as well as how to get it with a simplified piping command (without the `Where-Object`). Additionally, this removes the restriction on `Write-Log` that message must be non-null/empty. Requiring a non-null/empty string resulted in error messages that focused on bad input to `Write-Log`, which should really be a black-box command to users of StoreBroker. Instead, we'll let empty strings be logged, which should cause users to look into the command that they were executing instead. This is more in-line with how PowerShell default commands handle situations where there is no result. Resolves microsoft#63 - Confusing "Getting Your AppId" section in SETUP
@martinsuchan reported that SETUP.md was a bit confusing regarding how to get the `AppId`. I've updated the section to indicate how to get it from the DevPortal directly, as well as how to get it with a simplified piping command (without the `Where-Object`). Additionally, this removes the restriction on `Write-Log` that message must be non-null/empty. Requiring a non-null/empty string resulted in error messages that focused on bad input to `Write-Log`, which should really be a black-box command to users of StoreBroker. Instead, we'll let empty strings be logged, which should cause users to look into the command that they were executing instead. This is more in-line with how PowerShell default commands handle situations where there is no result. Resolves #63 - Confusing "Getting Your AppId" section in SETUP
Hi,
this should probably be changed - the Getting Your AppID section in SETUP.md is a bit confusing. It shows AppIn in format 0ABCDEF12345 but then it uses App Name in the command.
I found my AppId in Dev Dashboard and was wondering for few hours why the command is not working. The command should either use "id -like 0ABCDEF12345" or the difference between App name and Id should be described in a better way. Or just point the developer to the App management -> App identity section in Dashboard where the AppId is located.
Related issue that should probably be fixed as well - more meaningful error messages (should I create another ticket?).
If this command
does not find any app, only this error message is displayed. I had to dig through the source code to discover that $ApplicationData in Format-Application is null and Write-Log then receives invalid Message parameter. This pointed me to wrong AppId in the command.
The text was updated successfully, but these errors were encountered: