HTTPSConnectionPool(host='management.azure.com', port=443): URL로 최대 재시도 횟수가 초과되었습니다.

HTTPSConnectionPool(host='management.azure.com', port=443): URL로 최대 재시도 횟수가 초과되었습니다.

Azure Shell(portal.azure.com 브라우저)에서 주체 계정을 만들려고 하는데 완료할 수 없는 것 같습니다.

stan@Azure:~$ az ad sp create-for-rbac --sdk-auth > my.azureauth
Role assignment creation failed.

Error occurred in request., RetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/**********/providers/Microsoft.Authorization/roleAssignments/d5786742-5a32-486f-a669-31807195e5fc?api-version=2018-01-01-preview (Caused by ResponseError('too many 504 error responses',))
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/requests/adapters.py", line 445, in send
    timeout=timeout
  File "/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py", line 731, in urlopen
    body_pos=body_pos, **response_kw)
  File "/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py", line 731, in urlopen
    body_pos=body_pos, **response_kw)
  File "/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py", line 731, in urlopen
    body_pos=body_pos, **response_kw)
  File "/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py", line 711, in urlopen
    retries = retries.increment(method, url, response=response, _pool=self)
  File "/opt/az/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/4******/providers/Microsoft.Authorization/roleAssignments/d5786742-5a32-486f-a669-31807195e5fc?api-version=2018-01-01-preview (Caused by ResponseError('too many 504 error responses',))

근본 원인은 다음과 같습니다.

too many 504 error responses

하지만 어제도 같은 명령이 작동했는데 책에 나와 있는 내용이므로 조언해 주세요.

미리 감사드립니다, 스탠

관련 정보