az functionapp config ssl import - breaks with latest CLI version (Microsoft Graph api updates)
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az functionapp config ssl import
Errors:
The command failed with an unexpected error. Here is the traceback:
'GraphClient' object has no attribute 'service_principals'
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 718, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/commands.py", line 39, in _ex_handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 2700, in import_ssl_cert
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 2779, in _check_service_principal_permissions
AttributeError: 'GraphClient' object has no attribute 'service_principals'
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 functionapp config ssl import --resource-group {} --name {} --key-vault {} --key-vault-certificate-name {}
Expected Behavior
Environment Summary
Windows-10-10.0.19043-SP0
Python 3.10.4
Installer: MSI
azure-cli 2.37.0
Extensions:
cosmosdb-preview 0.11.0
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
Additional Context
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Release notes & updates – Azure CLI - Microsoft Learn
Learn about the latest Azure Command-Line Interface (CLI) release notes and updates for both the current and beta versions of the CLI.
Read more >az functionapp config ssl - Microsoft Learn
Import an SSL certificate to a function app from Key Vault. ... Azure CLI Copy. az functionapp config ssl bind --certificate-thumbprint --ssl-type {IP, ......
Read more >Microsoft Graph migration
Breaking changes ; Known issues; Install a previous version ... Graph API will be replaced by Microsoft Graph API in Azure CLI 2.37.0....
Read more >Known issues with Microsoft Graph
This article describes known issues and limitations with Microsoft Graph and provides workarounds when possible.
Read more >az functionapp config | Microsoft Learn
Upload an SSL certificate to a function app. az functionapp config set. Edit. Set an existing function app's configuration. Azure CLI
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Stefanus Hinardi, @Francisco-Gamino.
Issue Details
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az functionapp config ssl import
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az functionapp config ssl import --resource-group {} --name {} --key-vault {} --key-vault-certificate-name {}
Expected Behavior
Environment Summary
Additional Context
bug
,Service Attention
,Functions
,customer-reported
,needs-team-attention
,Auto-Assign
Hi Rakesh,
Yes it works for 2.36.0. Opened this ticket for 2.37.0
Thanks, Vinod