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

AAD App Permission #14528

Closed
peterekhator opened this issue Jul 27, 2020 · 2 comments
Closed

AAD App Permission #14528

peterekhator opened this issue Jul 27, 2020 · 2 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request Graph az ad OKR3.2 Candidate

Comments

@peterekhator
Copy link

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az ad app permission admin-consent

Errors:

400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
    raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 709, in _run_job
    cmd_copy.exception_handler(ex)
...
python3.6/site-packages/msrestazure/azure_active_directory.py, ln 486, in get_msi_token
    result.raise_for_status()
python3.6/site-packages/requests/models.py, ln 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az ad app permission admin-consent --id {}

Expected Behavior

Environment Summary

Linux-4.15.0-1091-azure-x86_64-with-debian-stretch-sid (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.9.0 *

Additional Context

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 27, 2020
@yonzhan yonzhan added Graph az ad and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 27, 2020
@yonzhan yonzhan added this to the S174 milestone Jul 27, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Jul 27, 2020

add to S174

@yonzhan yonzhan modified the milestones: S174, S175 - For Ignite Aug 22, 2020
@yonzhan yonzhan modified the milestones: S175 - For Ignite, S176 Sep 19, 2020
@azure-sdk azure-sdk added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Sep 24, 2020
@yonzhan yonzhan modified the milestones: S176, S177 Oct 1, 2020
@yonzhan yonzhan modified the milestones: S177, S178 Oct 24, 2020
@yonzhan yonzhan modified the milestones: S178, S179 Nov 14, 2020
@yonzhan yonzhan modified the milestones: S179, S180 Nov 28, 2020
@yonzhan yonzhan modified the milestones: S180, S181 Dec 25, 2020
@yonzhan yonzhan added this to the S182 milestone Dec 31, 2020
@yonzhan yonzhan modified the milestones: S182, S183 Feb 6, 2021
@yonzhan yonzhan modified the milestones: S183 - For Ignite, S184 Feb 26, 2021
@yonzhan yonzhan modified the milestones: S184, S185 Mar 14, 2021
@yonzhan yonzhan modified the milestones: S185, S186 Apr 6, 2021
@yonzhan yonzhan modified the milestones: S186, S187 Apr 24, 2021
@yonzhan yonzhan modified the milestones: S187, S188 May 19, 2021
@yonzhan yonzhan modified the milestones: S188, S189 Jun 12, 2021
@yonzhan yonzhan modified the milestones: S189, Jul 2021 (2021-08-03) Jul 2, 2021
@jiasli
Copy link
Member

jiasli commented Jul 8, 2021

Please see #12137 (comment) for detailed explanation and workaround.

@jiasli jiasli closed this as completed Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request Graph az ad OKR3.2 Candidate
Projects
None yet
Development

No branches or pull requests

5 participants