diff --git a/src/azure-cli/azure/cli/command_modules/role/_help.py b/src/azure-cli/azure/cli/command_modules/role/_help.py index e15c1994a70..4aa54aa59c7 100644 --- a/src/azure-cli/azure/cli/command_modules/role/_help.py +++ b/src/azure-cli/azure/cli/command_modules/role/_help.py @@ -261,65 +261,66 @@ type: command short-summary: Update an application. examples: - - name: update a native application with delegated permission of "access the AAD directory as the signed-in user" - text: | - az ad app update --id e042ec79-34cd-498f-9d9f-123456781234 --required-resource-accesses @manifest.json - ("manifest.json" contains the following content) - [{ - "resourceAppId": "00000002-0000-0000-c000-000000000000", - "resourceAccess": [ - { - "id": "a42657d6-7f20-40e3-b6f0-cee03008a62a", - "type": "Scope" - } - ] - }] - - name: declare an application role - text: | - az ad app update --id e042ec79-34cd-498f-9d9f-123456781234 --app-roles @manifest.json - ("manifest.json" contains the following content) - [{ - "allowedMemberTypes": [ - "User" - ], - "description": "Approvers can mark documents as approved", - "displayName": "Approver", - "isEnabled": "true", - "value": "approver" - }] - - name: update optional claims - text: | - az ad app update --id e042ec79-34cd-498f-9d9f-123456781234 --optional-claims @manifest.json - ("manifest.json" contains the following content) - { - "idToken": [ - { - "name": "auth_time", - "essential": false - } - ], - "accessToken": [ - { - "name": "ipaddr", - "essential": false - } - ], - "saml2Token": [ - { - "name": "upn", - "essential": false - }, - { - "name": "extension_ab603c56068041afb2f6832e2a17e237_skypeId", - "source": "user", - "essential": false - } - ] - } - - name: update an application's group membership claims to "All" - text: > - az ad app update --id e042ec79-34cd-498f-9d9f-123456781234 --set groupMembershipClaims=All - +- name: Update a native application with delegated permission of "access the AAD directory as the signed-in user" + text: | + az ad app update --id e042ec79-34cd-498f-9d9f-123456781234 --required-resource-accesses @manifest.json + ("manifest.json" contains the following content) + [{ + "resourceAppId": "00000002-0000-0000-c000-000000000000", + "resourceAccess": [ + { + "id": "a42657d6-7f20-40e3-b6f0-cee03008a62a", + "type": "Scope" + } + ] + }] +- name: Declare an application role + text: | + az ad app update --id e042ec79-34cd-498f-9d9f-123456781234 --app-roles @manifest.json + ("manifest.json" contains the following content) + [{ + "allowedMemberTypes": [ + "User" + ], + "description": "Approvers can mark documents as approved", + "displayName": "Approver", + "isEnabled": "true", + "value": "approver" + }] +- name: Update optional claims + text: | + az ad app update --id e042ec79-34cd-498f-9d9f-123456781234 --optional-claims @manifest.json + ("manifest.json" contains the following content) + { + "idToken": [ + { + "name": "auth_time", + "essential": false + } + ], + "accessToken": [ + { + "name": "ipaddr", + "essential": false + } + ], + "saml2Token": [ + { + "name": "upn", + "essential": false + }, + { + "name": "extension_ab603c56068041afb2f6832e2a17e237_skypeId", + "source": "user", + "essential": false + } + ] + } +- name: Update an application's groupMembershipClaims property to "All" + text: az ad app update --id e042ec79-34cd-498f-9d9f-123456781234 --set groupMembershipClaims=All +- name: Update an application's groupMembershipClaims property to "All" with JSON (Bash) + text: | + az ad app update --id e042ec79-34cd-498f-9d9f-123456781234 --parameters '{"groupMembershipClaims": "All"}' """ helps['ad app federated-credential'] = """ @@ -627,9 +628,11 @@ type: command short-summary: Update a service principal examples: - - name: update a service principal (autogenerated) - text: az ad sp update --id 00000000-0000-0000-0000-000000000000 --set groupMembershipClaims=All - crafted: true +- name: Update a service principal's appRoleAssignmentRequired property to true + text: az ad sp update --id 00000000-0000-0000-0000-000000000000 --set appRoleAssignmentRequired=true +- name: Update a service principal's appRoleAssignmentRequired property to true with JSON (Bash) + text: > + az ad sp update --id 00000000-0000-0000-0000-000000000000 --parameters '{"appRoleAssignmentRequired": true}' """ helps['ad user'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/role/_params.py b/src/azure-cli/azure/cli/command_modules/role/_params.py index 9efde6e1c4d..a1e705b61cb 100644 --- a/src/azure-cli/azure/cli/command_modules/role/_params.py +++ b/src/azure-cli/azure/cli/command_modules/role/_params.py @@ -219,6 +219,14 @@ def load_arguments(self, _): c.argument('key_id', help='credential key id') c.argument('cert', action='store_true', help='a certificate based credential') + # Generic Update + for item in ['ad app update', 'ad sp update']: + with self.argument_context(item) as c: + c.argument('properties_to_set', arg_group='Generic Update', options_list=['--set'], nargs='+', + help='Set properties. Space-separated list of {name}={string or JSON}.') + c.argument('parameters', arg_group='Generic Update', type=validate_file_or_dict, is_experimental=True, + help='Parameters for update operation. ' + JSON_PROPERTY_HELP) + with self.argument_context('ad') as c: c.argument('display_name', help='object\'s display name or its prefix') c.argument('identifier_uri', help='graph application identifier, must be in uri format') diff --git a/src/azure-cli/azure/cli/command_modules/role/commands.py b/src/azure-cli/azure/cli/command_modules/role/commands.py index e087793cbff..5330fd1a7b0 100644 --- a/src/azure-cli/azure/cli/command_modules/role/commands.py +++ b/src/azure-cli/azure/cli/command_modules/role/commands.py @@ -81,6 +81,7 @@ def load_command_table(self, _): g.custom_command('create', 'create_application') g.custom_command('delete', 'delete_application') g.custom_command('list', 'list_applications', table_transformer=get_graph_object_transformer('app')) + g.custom_command('update', 'update_application') g.custom_show_command('show', 'show_application') g.custom_command('permission grant', 'grant_application') g.custom_command('permission list', 'list_permissions') @@ -88,9 +89,6 @@ def load_command_table(self, _): g.custom_command('permission delete', 'delete_permission') g.custom_command('permission list-grants', 'list_permission_grants') g.custom_command('permission admin-consent', 'admin_consent') - g.generic_update_command('update', setter_name='patch_application', setter_type=role_custom, - getter_name='show_application', getter_type=role_custom, - custom_func_name='update_application', custom_func_type=role_custom) g.custom_command('credential reset', 'reset_application_credential') g.custom_command('credential list', 'list_application_credentials') g.custom_command('credential delete', 'delete_application_credential') @@ -112,9 +110,7 @@ def load_command_table(self, _): g.custom_command('delete', 'delete_service_principal') g.custom_command('list', 'list_service_principals', table_transformer=get_graph_object_transformer('sp')) g.custom_show_command('show', 'show_service_principal') - g.generic_update_command('update', getter_name='show_service_principal', getter_type=role_custom, - setter_name='patch_service_principal', setter_type=role_custom, - custom_func_name='update_service_principal', custom_func_type=role_custom) + g.custom_command('update', 'update_service_principal') with self.command_group('ad sp owner', client_factory=get_graph_client, exception_handler=graph_err_handler) as g: g.custom_command('list', 'list_service_principal_owners') diff --git a/src/azure-cli/azure/cli/command_modules/role/custom.py b/src/azure-cli/azure/cli/command_modules/role/custom.py index d95a0b9f334..27d928c790d 100644 --- a/src/azure-cli/azure/cli/command_modules/role/custom.py +++ b/src/azure-cli/azure/cli/command_modules/role/custom.py @@ -625,8 +625,9 @@ def create_application(cmd, client, display_name, identifier_uris=None, if len(existing_apps) == 1: logger.warning("Found an existing application instance: (id) %s. We will patch it.", existing_apps[0][ID]) - body = update_application( - existing_apps[0], display_name=display_name, identifier_uris=identifier_uris, + update_application( + client, existing_apps[0][ID], + display_name=display_name, identifier_uris=identifier_uris, is_fallback_public_client=is_fallback_public_client, sign_in_audience=sign_in_audience, # keyCredentials key_value=key_value, key_type=key_type, key_usage=key_usage, @@ -642,7 +643,6 @@ def create_application(cmd, client, display_name, identifier_uris=None, app_roles=app_roles, optional_claims=optional_claims, required_resource_accesses=required_resource_accesses) - patch_application(cmd, existing_apps[0][ID], body) # no need to resolve identifierUris or appId. Just use id. return client.application_get(existing_apps[0][ID]) @@ -680,7 +680,7 @@ def create_application(cmd, client, display_name, identifier_uris=None, return result -def update_application(instance, display_name=None, identifier_uris=None, # pylint: disable=unused-argument +def update_application(client, identifier, display_name=None, identifier_uris=None, is_fallback_public_client=None, sign_in_audience=None, # keyCredentials key_value=None, key_type=None, key_usage=None, start_date=None, end_date=None, @@ -691,8 +691,11 @@ def update_application(instance, display_name=None, identifier_uris=None, # pyl # publicClient public_client_redirect_uris=None, # JSON properties - app_roles=None, optional_claims=None, required_resource_accesses=None): + app_roles=None, optional_claims=None, required_resource_accesses=None, + # Generic update + parameters=None, properties_to_set=None): body = {} + _update_patch_body(body, parameters, properties_to_set) key_credentials = None if key_value: @@ -714,14 +717,8 @@ def update_application(instance, display_name=None, identifier_uris=None, # pyl # JSON properties app_roles=app_roles, optional_claims=optional_claims, required_resource_accesses=required_resource_accesses ) - - return body - - -def patch_application(cmd, identifier, parameters): - graph_client = _graph_client_factory(cmd.cli_ctx) - object_id = _resolve_application(graph_client, identifier) - return graph_client.application_update(object_id, parameters) + object_id = _resolve_application(client, identifier) + return client.application_update(object_id, body) def show_application(client, identifier): @@ -1013,15 +1010,14 @@ def create_service_principal(cmd, identifier): return _create_service_principal(cmd.cli_ctx, identifier) -def update_service_principal(instance): # pylint: disable=unused-argument +def update_service_principal(client, identifier, + # Generic update + parameters=None, properties_to_set=None): # Do not PATCH back properties retrieved with GET and leave everything else to generic update. - return {} - - -def patch_service_principal(cmd, identifier, parameters): - graph_client = _graph_client_factory(cmd.cli_ctx) - object_id = _resolve_service_principal(graph_client, identifier) - return graph_client.service_principal_update(object_id, parameters) + body = {} + _update_patch_body(body, parameters, properties_to_set) + object_id = _resolve_service_principal(client, identifier) + return client.service_principal_update(object_id, body) def _create_service_principal(cli_ctx, identifier, resolve_app=True): @@ -1989,3 +1985,26 @@ def _get_member_groups(get_member_group_func, identifier, security_enabled_only) "securityEnabledOnly": security_enabled_only } return get_member_group_func(identifier, body) + + +def _update_patch_body(body, parameters, properties_to_set): + # --parameters + if parameters: + body.update(parameters) + + # --set + if properties_to_set: + for exp in properties_to_set: + try: + key, value = exp.split('=', 1) + except ValueError as ex: + from azure.cli.core.azclierror import ArgumentUsageError + raise ArgumentUsageError('Usage error: Please set properties with space-separated list of ' + '{name}={string or JSON}, such as `--set displayName=myapp`') from ex + # Try parsing value as JSON + try: + value = shell_safe_json_parse(value) + except: # pylint:disable=bare-except + pass + body[key] = value + return body diff --git a/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_app_create_idempotent.yaml b/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_app_create_idempotent.yaml index c645538b230..e052a1c0094 100644 --- a/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_app_create_idempotent.yaml +++ b/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_app_create_idempotent.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - --display-name --is-fallback-public-client User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=startswith(displayName,'app000001') + uri: https://graph.microsoft.com/v1.0/applications?$filter=startswith%28displayName%2C%27app000001%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[]}' @@ -27,11 +27,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Sat, 07 May 2022 06:52:39 GMT + - Wed, 10 Aug 2022 06:56:45 GMT odata-version: - '4.0' request-id: - - 82602ded-8546-48ee-b090-2ac89a551f9d + - e790a57a-af2f-4a17-8db5-c37da85f88ce strict-transport-security: - max-age=31536000 transfer-encoding: @@ -39,7 +39,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000163A"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A47"}}' x-ms-resource-unit: - '2' status: @@ -64,46 +64,46 @@ interactions: ParameterSetName: - --display-name --is-fallback-public-client User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: POST uri: https://graph.microsoft.com/v1.0/applications response: body: string: '{"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#applications/$entity", - "id": "e4831392-6aec-4375-9d52-7d4101d912f0", "deletedDateTime": null, "appId": - "212c8a86-3439-485a-b8a3-16bb03f1c615", "applicationTemplateId": null, "disabledByMicrosoftStatus": - null, "createdDateTime": "2022-05-07T06:52:40.0674152Z", "displayName": "app000001", + "id": "73e63094-f4d0-4bc2-b893-f10e18c02f2f", "deletedDateTime": null, "appId": + "ab0ad4bc-714c-4cc4-a2e9-52f04aa78e97", "applicationTemplateId": null, "disabledByMicrosoftStatus": + null, "createdDateTime": "2022-08-10T06:56:47.3572105Z", "displayName": "app000001", "description": null, "groupMembershipClaims": null, "identifierUris": [], "isDeviceOnlyAuthSupported": null, "isFallbackPublicClient": true, "notes": null, "publisherDomain": "AzureSDKTeam.onmicrosoft.com", "serviceManagementReference": null, "signInAudience": "AzureADandPersonalMicrosoftAccount", "tags": [], - "tokenEncryptionKeyId": null, "defaultRedirectUri": null, "certification": - null, "optionalClaims": null, "addIns": [], "api": {"acceptMappedClaims": - null, "knownClientApplications": [], "requestedAccessTokenVersion": 2, "oauth2PermissionScopes": - [], "preAuthorizedApplications": []}, "appRoles": [], "info": {"logoUrl": - null, "marketingUrl": null, "privacyStatementUrl": null, "supportUrl": null, - "termsOfServiceUrl": null}, "keyCredentials": [], "parentalControlSettings": - {"countriesBlockedForMinors": [], "legalAgeGroupRule": "Allow"}, "passwordCredentials": - [], "publicClient": {"redirectUris": []}, "requiredResourceAccess": [], "verifiedPublisher": - {"displayName": null, "verifiedPublisherId": null, "addedDateTime": null}, - "web": {"homePageUrl": null, "logoutUrl": null, "redirectUris": [], "implicitGrantSettings": - {"enableAccessTokenIssuance": false, "enableIdTokenIssuance": false}}, "spa": - {"redirectUris": []}}' + "tokenEncryptionKeyId": null, "samlMetadataUrl": null, "defaultRedirectUri": + null, "certification": null, "optionalClaims": null, "addIns": [], "api": + {"acceptMappedClaims": null, "knownClientApplications": [], "requestedAccessTokenVersion": + 2, "oauth2PermissionScopes": [], "preAuthorizedApplications": []}, "appRoles": + [], "info": {"logoUrl": null, "marketingUrl": null, "privacyStatementUrl": + null, "supportUrl": null, "termsOfServiceUrl": null}, "keyCredentials": [], + "parentalControlSettings": {"countriesBlockedForMinors": [], "legalAgeGroupRule": + "Allow"}, "passwordCredentials": [], "publicClient": {"redirectUris": []}, + "requiredResourceAccess": [], "verifiedPublisher": {"displayName": null, "verifiedPublisherId": + null, "addedDateTime": null}, "web": {"homePageUrl": null, "logoutUrl": null, + "redirectUris": [], "implicitGrantSettings": {"enableAccessTokenIssuance": + false, "enableIdTokenIssuance": false}}, "spa": {"redirectUris": []}}' headers: cache-control: - no-cache content-length: - - '1584' + - '1609' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Sat, 07 May 2022 06:52:40 GMT + - Wed, 10 Aug 2022 06:56:48 GMT location: - - https://graph.microsoft.com/v2/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/directoryObjects/e4831392-6aec-4375-9d52-7d4101d912f0/Microsoft.DirectoryServices.Application + - https://graph.microsoft.com/v2/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/directoryObjects/73e63094-f4d0-4bc2-b893-f10e18c02f2f/Microsoft.DirectoryServices.Application odata-version: - '4.0' request-id: - - 7b0fc99b-5e85-42e9-b5ef-a5fa74c208f4 + - 6d9a45f0-de81-4f2b-8232-c60f79db96eb strict-transport-security: - max-age=31536000 transfer-encoding: @@ -111,7 +111,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001E1E"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00007868"}}' x-ms-resource-unit: - '1' status: @@ -131,25 +131,25 @@ interactions: ParameterSetName: - --display-name --is-fallback-public-client User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=startswith(displayName,'app000001') + uri: https://graph.microsoft.com/v1.0/applications?$filter=startswith%28displayName%2C%27app000001%27%29 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"e4831392-6aec-4375-9d52-7d4101d912f0","deletedDateTime":null,"appId":"212c8a86-3439-485a-b8a3-16bb03f1c615","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-05-07T06:52:40Z","displayName":"app000001","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"73e63094-f4d0-4bc2-b893-f10e18c02f2f","deletedDateTime":null,"appId":"ab0ad4bc-714c-4cc4-a2e9-52f04aa78e97","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-10T06:56:47Z","displayName":"app000001","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '1475' + - '1498' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Sat, 07 May 2022 06:52:41 GMT + - Wed, 10 Aug 2022 06:56:50 GMT odata-version: - '4.0' request-id: - - ba3d9f16-de76-4f1b-9425-17d2c0351551 + - 56f7f150-2480-459d-9938-d09980f08271 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -157,7 +157,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000163A"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF000093EB"}}' x-ms-resource-unit: - '2' status: @@ -177,9 +177,9 @@ interactions: ParameterSetName: - --display-name --is-fallback-public-client User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'e4831392-6aec-4375-9d52-7d4101d912f0' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%2773e63094-f4d0-4bc2-b893-f10e18c02f2f%27 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[]}' @@ -191,11 +191,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Sat, 07 May 2022 06:52:41 GMT + - Wed, 10 Aug 2022 06:56:51 GMT odata-version: - '4.0' request-id: - - 0d03b914-ea87-4ae5-aad1-632e39f3da8e + - 9a359534-57b3-4630-a18c-003d34ae5ae7 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -203,7 +203,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000022D6"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00007865"}}' x-ms-resource-unit: - '2' status: @@ -227,9 +227,9 @@ interactions: ParameterSetName: - --display-name --is-fallback-public-client User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: PATCH - uri: https://graph.microsoft.com/v1.0/applications/e4831392-6aec-4375-9d52-7d4101d912f0 + uri: https://graph.microsoft.com/v1.0/applications/73e63094-f4d0-4bc2-b893-f10e18c02f2f response: body: string: '' @@ -237,13 +237,13 @@ interactions: cache-control: - no-cache date: - - Sat, 07 May 2022 06:52:42 GMT + - Wed, 10 Aug 2022 06:56:55 GMT request-id: - - 26aef4db-0063-44d2-8736-4f18f9b47934 + - b24f9c95-e4f0-457f-8288-6a93e977ca88 strict-transport-security: - max-age=31536000 x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BCE"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00008131"}}' x-ms-resource-unit: - '1' status: @@ -263,25 +263,25 @@ interactions: ParameterSetName: - --display-name --is-fallback-public-client User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/e4831392-6aec-4375-9d52-7d4101d912f0 + uri: https://graph.microsoft.com/v1.0/applications/73e63094-f4d0-4bc2-b893-f10e18c02f2f response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"e4831392-6aec-4375-9d52-7d4101d912f0","deletedDateTime":null,"appId":"212c8a86-3439-485a-b8a3-16bb03f1c615","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-05-07T06:52:40Z","displayName":"app000001","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":false,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"73e63094-f4d0-4bc2-b893-f10e18c02f2f","deletedDateTime":null,"appId":"ab0ad4bc-714c-4cc4-a2e9-52f04aa78e97","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-10T06:56:47Z","displayName":"app000001","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":false,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}' headers: cache-control: - no-cache content-length: - - '1472' + - '1495' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Sat, 07 May 2022 06:52:43 GMT + - Wed, 10 Aug 2022 06:56:56 GMT odata-version: - '4.0' request-id: - - bfae2604-b2f9-465a-98c0-cc08d933d67f + - 6414f9e4-9708-4b09-9c28-9b0b14cd5d7d strict-transport-security: - max-age=31536000 transfer-encoding: @@ -289,7 +289,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000018C7"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00006468"}}' x-ms-resource-unit: - '1' status: @@ -309,25 +309,25 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'212c8a86-3439-485a-b8a3-16bb03f1c615' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27ab0ad4bc-714c-4cc4-a2e9-52f04aa78e97%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"e4831392-6aec-4375-9d52-7d4101d912f0","deletedDateTime":null,"appId":"212c8a86-3439-485a-b8a3-16bb03f1c615","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-05-07T06:52:40Z","displayName":"app000001","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":false,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"73e63094-f4d0-4bc2-b893-f10e18c02f2f","deletedDateTime":null,"appId":"ab0ad4bc-714c-4cc4-a2e9-52f04aa78e97","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-10T06:56:47Z","displayName":"app000001","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":false,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '1476' + - '1499' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Sat, 07 May 2022 06:52:44 GMT + - Wed, 10 Aug 2022 06:56:57 GMT odata-version: - '4.0' request-id: - - 807d7333-0527-49a7-84b7-c67642e3d4df + - b98fe74b-1f52-4ead-aca1-ae6c457f88e5 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -335,7 +335,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001642"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A31"}}' x-ms-resource-unit: - '2' status: @@ -355,25 +355,25 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/e4831392-6aec-4375-9d52-7d4101d912f0 + uri: https://graph.microsoft.com/v1.0/applications/73e63094-f4d0-4bc2-b893-f10e18c02f2f response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"e4831392-6aec-4375-9d52-7d4101d912f0","deletedDateTime":null,"appId":"212c8a86-3439-485a-b8a3-16bb03f1c615","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-05-07T06:52:40Z","displayName":"app000001","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":false,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"73e63094-f4d0-4bc2-b893-f10e18c02f2f","deletedDateTime":null,"appId":"ab0ad4bc-714c-4cc4-a2e9-52f04aa78e97","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-10T06:56:47Z","displayName":"app000001","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":false,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}' headers: cache-control: - no-cache content-length: - - '1472' + - '1495' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Sat, 07 May 2022 06:52:44 GMT + - Wed, 10 Aug 2022 06:56:58 GMT odata-version: - '4.0' request-id: - - 8cd2cc1a-1b74-4123-a6f8-e71edd6c3d30 + - 4d85ea4b-d8a5-4541-8555-668920897a5b strict-transport-security: - max-age=31536000 transfer-encoding: @@ -381,7 +381,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000022D6"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF0000812E"}}' x-ms-resource-unit: - '1' status: @@ -401,25 +401,25 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'212c8a86-3439-485a-b8a3-16bb03f1c615' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27ab0ad4bc-714c-4cc4-a2e9-52f04aa78e97%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"e4831392-6aec-4375-9d52-7d4101d912f0","deletedDateTime":null,"appId":"212c8a86-3439-485a-b8a3-16bb03f1c615","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-05-07T06:52:40Z","displayName":"app000001","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":false,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"73e63094-f4d0-4bc2-b893-f10e18c02f2f","deletedDateTime":null,"appId":"ab0ad4bc-714c-4cc4-a2e9-52f04aa78e97","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-10T06:56:47Z","displayName":"app000001","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":false,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '1476' + - '1499' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Sat, 07 May 2022 06:52:45 GMT + - Wed, 10 Aug 2022 06:56:59 GMT odata-version: - '4.0' request-id: - - 204558a9-93df-4499-86ca-8100fe592f03 + - 397e1294-b803-4d92-8ddf-77fd1fc002c0 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -427,7 +427,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000022D3"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A4A"}}' x-ms-resource-unit: - '2' status: @@ -449,9 +449,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: DELETE - uri: https://graph.microsoft.com/v1.0/applications/e4831392-6aec-4375-9d52-7d4101d912f0 + uri: https://graph.microsoft.com/v1.0/applications/73e63094-f4d0-4bc2-b893-f10e18c02f2f response: body: string: '' @@ -459,13 +459,13 @@ interactions: cache-control: - no-cache date: - - Sat, 07 May 2022 06:52:47 GMT + - Wed, 10 Aug 2022 06:57:01 GMT request-id: - - a6b30949-dd72-4f53-bc1d-b279a77b1845 + - b40beb26-68e3-4951-bf42-33a118620d7a strict-transport-security: - max-age=31536000 x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000022D9"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF000093E9"}}' x-ms-resource-unit: - '1' status: @@ -487,9 +487,9 @@ interactions: ParameterSetName: - --method --url User-Agent: - - python/3.10.4 (Windows-10-10.0.19044-SP0) AZURECLI/2.35.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: DELETE - uri: https://graph.microsoft.com/v1.0/directory/deletedItems/e4831392-6aec-4375-9d52-7d4101d912f0 + uri: https://graph.microsoft.com/v1.0/directory/deletedItems/73e63094-f4d0-4bc2-b893-f10e18c02f2f response: body: string: '' @@ -497,13 +497,13 @@ interactions: cache-control: - no-cache date: - - Sat, 07 May 2022 06:52:48 GMT + - Wed, 10 Aug 2022 06:57:03 GMT request-id: - - 495a18c6-fe9b-40c0-b01e-dbc8b3042d7b + - abcccc21-e1c3-407a-816f-b3a34b6735ca strict-transport-security: - max-age=31536000 x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001E1E"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00005D6A"}}' x-ms-resource-unit: - '1' status: diff --git a/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_app_scenario.yaml b/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_app_scenario.yaml index a412e8266b5..1090c263c26 100644 --- a/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_app_scenario.yaml +++ b/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_app_scenario.yaml @@ -15,9 +15,9 @@ interactions: --web-home-page-url --web-redirect-uris --enable-access-token-issuance --enable-id-token-issuance --public-client-redirect-uris --key-value --app-roles --optional-claims --required-resource-accesses User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=startswith(displayName,'azure-cli-test000001') + uri: https://graph.microsoft.com/v1.0/applications?$filter=startswith%28displayName%2C%27azure-cli-test000001%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[]}' @@ -29,11 +29,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:04 GMT + - Mon, 08 Aug 2022 07:28:11 GMT odata-version: - '4.0' request-id: - - 0c004710-407c-43fd-a179-4c372802013c + - 6581371b-c93c-4e98-aa11-c4d41ee2c298 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -41,7 +41,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00008136"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001E1D"}}' x-ms-resource-unit: - '2' status: @@ -51,8 +51,8 @@ interactions: body: '{"displayName": "azure-cli-test000001", "identifierUris": ["api://azure-cli-test000001"], "isFallbackPublicClient": true, "signInAudience": "AzureADMultipleOrgs", "keyCredentials": [{"@odata.type": "#microsoft.graph.keyCredential", "displayName": null, "endDateTime": - "2023-06-08T05:55:05Z", "key": "MIIDazCCAlOgAwIBAgIUIp5vybhHfKN+ZKL28AntYKhlKXkwDQYJKoZIhvcNAQELBQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMDA3MjIwNzE3NDdaFw00NzEyMDgwNzE3NDdaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDMa00H+/p4RP4Eo//1J81Wowo4y1SKOJHbJ6T/lZ735FzFX52gdQ/7HalJOwQdbha78RPGA7bXxEmyEo+q3w+IMYzrqboX5S9yf0v1DZvja/VEMtUsq79d7NUUEd+smkuqDxDHFIkMeMM8cXy6tc+TPbc28BkQQiKbzOEZDwy4HPd7FCqCwwcZtgxfxFQx5A2DkAXtT53zQD8k1zY4UQWhkKDcgvINzQfYxJmUbXqH27MuJuejhpWLjmwEFCQtMJMrEv44YmlDzmL64iN5HFckO65ikV9fe9g9EcR5acSY2bsO8WyFYzTffVXFpFF011Vi4d/U0h4wSwj5KLMYMHkfAgMBAAGjUzBRMB0GA1UdDgQWBBQxgpSKG7fwIHEopaRA10GB8Z8SOTAfBgNVHSMEGDAWgBQxgpSKG7fwIHEopaRA10GB8Z8SOTAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAtI5vbHGxVV3qRtd9PEFe9dUb9Yv9YIa5RUd5l795cgr6qyELfg3xTPZbNf1oUHpGXNCfm1uqNTorIKOIEoTpA+STVwST/xcqzB6VjS31I/5IIrdK2NQenM+0DVJa+yGhX+zI3+X3cO2YbyLSKBYqdMsqgnMS/ZC0NnrvigHgq2SC4Vzg8yz5rorjvLJ6ndehtoWOtdCJKUTPihNh4e+GM2A7UNKdt5WKCiS/n/lShvm+8JEG2lXQmmxR6DOjdDyC4/6tf7Ln7YoZZ0q6ICp04oMF6bvgGosdOkQATW4X97EmcfIBfHPX2w/Xn47np2rZrlBMWCjI8gO6W8YQMu7AH", - "keyId": "0042d742-d4ef-411d-83c7-ed6dfbb1d653", "startDateTime": "2022-06-09T05:55:05Z", + "2023-08-07T07:28:11Z", "key": "MIIDazCCAlOgAwIBAgIUIp5vybhHfKN+ZKL28AntYKhlKXkwDQYJKoZIhvcNAQELBQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMDA3MjIwNzE3NDdaFw00NzEyMDgwNzE3NDdaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDMa00H+/p4RP4Eo//1J81Wowo4y1SKOJHbJ6T/lZ735FzFX52gdQ/7HalJOwQdbha78RPGA7bXxEmyEo+q3w+IMYzrqboX5S9yf0v1DZvja/VEMtUsq79d7NUUEd+smkuqDxDHFIkMeMM8cXy6tc+TPbc28BkQQiKbzOEZDwy4HPd7FCqCwwcZtgxfxFQx5A2DkAXtT53zQD8k1zY4UQWhkKDcgvINzQfYxJmUbXqH27MuJuejhpWLjmwEFCQtMJMrEv44YmlDzmL64iN5HFckO65ikV9fe9g9EcR5acSY2bsO8WyFYzTffVXFpFF011Vi4d/U0h4wSwj5KLMYMHkfAgMBAAGjUzBRMB0GA1UdDgQWBBQxgpSKG7fwIHEopaRA10GB8Z8SOTAfBgNVHSMEGDAWgBQxgpSKG7fwIHEopaRA10GB8Z8SOTAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAtI5vbHGxVV3qRtd9PEFe9dUb9Yv9YIa5RUd5l795cgr6qyELfg3xTPZbNf1oUHpGXNCfm1uqNTorIKOIEoTpA+STVwST/xcqzB6VjS31I/5IIrdK2NQenM+0DVJa+yGhX+zI3+X3cO2YbyLSKBYqdMsqgnMS/ZC0NnrvigHgq2SC4Vzg8yz5rorjvLJ6ndehtoWOtdCJKUTPihNh4e+GM2A7UNKdt5WKCiS/n/lShvm+8JEG2lXQmmxR6DOjdDyC4/6tf7Ln7YoZZ0q6ICp04oMF6bvgGosdOkQATW4X97EmcfIBfHPX2w/Xn47np2rZrlBMWCjI8gO6W8YQMu7AH", + "keyId": "9eae04f3-d2a2-4028-908b-2588eb1e68c7", "startDateTime": "2022-08-08T07:28:11Z", "type": "AsymmetricX509Cert", "usage": "Verify"}], "web": {"homePageUrl": "https://myapp.com/", "redirectUris": ["http://localhost/webtest1", "http://localhost/webtest2"], "implicitGrantSettings": {"enableIdTokenIssuance": true, "enableAccessTokenIssuance": @@ -89,24 +89,24 @@ interactions: --web-home-page-url --web-redirect-uris --enable-access-token-issuance --enable-id-token-issuance --public-client-redirect-uris --key-value --app-roles --optional-claims --required-resource-accesses User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: POST uri: https://graph.microsoft.com/v1.0/applications response: body: string: '{"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#applications/$entity", - "id": "63e64527-fcfc-4b49-9620-12448f5c4ba6", "deletedDateTime": null, "appId": - "c603620f-3d35-453e-bcde-9f680b44a0f3", "applicationTemplateId": null, "disabledByMicrosoftStatus": - null, "createdDateTime": "2022-06-09T05:55:05.7090167Z", "displayName": "azure-cli-test000001", + "id": "b675c436-d2a8-4afe-971f-38ebaa1ee98d", "deletedDateTime": null, "appId": + "23e21d8a-6189-49b8-a31e-ede6f0064f4b", "applicationTemplateId": null, "disabledByMicrosoftStatus": + null, "createdDateTime": "2022-08-08T07:28:12.4581628Z", "displayName": "azure-cli-test000001", "description": null, "groupMembershipClaims": null, "identifierUris": ["api://azure-cli-test000001"], "isDeviceOnlyAuthSupported": null, "isFallbackPublicClient": true, "notes": null, "publisherDomain": "AzureSDKTeam.onmicrosoft.com", "serviceManagementReference": null, "signInAudience": "AzureADMultipleOrgs", "tags": [], "tokenEncryptionKeyId": - null, "defaultRedirectUri": null, "certification": null, "addIns": [], "api": - {"acceptMappedClaims": null, "knownClientApplications": [], "requestedAccessTokenVersion": - null, "oauth2PermissionScopes": [], "preAuthorizedApplications": []}, "appRoles": - [{"allowedMemberTypes": ["User"], "description": "Writers Have the ability - to create tasks.", "displayName": "Writer", "id": "d1c2ade8-0000-0000-0000-6d06b947c66f", + null, "samlMetadataUrl": null, "defaultRedirectUri": null, "certification": + null, "addIns": [], "api": {"acceptMappedClaims": null, "knownClientApplications": + [], "requestedAccessTokenVersion": null, "oauth2PermissionScopes": [], "preAuthorizedApplications": + []}, "appRoles": [{"allowedMemberTypes": ["User"], "description": "Writers + Have the ability to create tasks.", "displayName": "Writer", "id": "d1c2ade8-0000-0000-0000-6d06b947c66f", "isEnabled": true, "origin": "Application", "value": "Writer"}, {"allowedMemberTypes": ["Application"], "description": "Consumer apps have access to the consumer data.", "displayName": "ConsumerApps", "id": "47fbb575-0000-0000-0000-0f7a6c30beac", @@ -114,8 +114,8 @@ interactions: {"logoUrl": null, "marketingUrl": null, "privacyStatementUrl": null, "supportUrl": null, "termsOfServiceUrl": null}, "keyCredentials": [{"customKeyIdentifier": "7AB4DD9219E5E03ECC025136572DFAA262EC85CB", "displayName": "O=Internet Widgits - Pty Ltd, S=Some-State, C=AU", "endDateTime": "2023-06-08T05:55:05Z", "key": - null, "keyId": "0042d742-d4ef-411d-83c7-ed6dfbb1d653", "startDateTime": "2022-06-09T05:55:05Z", + Pty Ltd, S=Some-State, C=AU", "endDateTime": "2023-08-07T07:28:11Z", "key": + null, "keyId": "9eae04f3-d2a2-4028-908b-2588eb1e68c7", "startDateTime": "2022-08-08T07:28:11Z", "type": "AsymmetricX509Cert", "usage": "Verify"}], "optionalClaims": {"accessToken": [{"additionalProperties": [], "essential": false, "name": "ipaddr", "source": null}], "idToken": [{"additionalProperties": [], "essential": false, "name": @@ -138,17 +138,17 @@ interactions: cache-control: - no-cache content-length: - - '3327' + - '3352' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:05 GMT + - Mon, 08 Aug 2022 07:28:12 GMT location: - - https://graph.microsoft.com/v2/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/directoryObjects/63e64527-fcfc-4b49-9620-12448f5c4ba6/Microsoft.DirectoryServices.Application + - https://graph.microsoft.com/v2/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/directoryObjects/b675c436-d2a8-4afe-971f-38ebaa1ee98d/Microsoft.DirectoryServices.Application odata-version: - '4.0' request-id: - - 99647b55-e9e3-44bc-a329-87c140b695c0 + - 5687f589-0d70-4276-9569-cebe2542f85a strict-transport-security: - max-age=31536000 transfer-encoding: @@ -156,7 +156,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF000083A7"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001643"}}' x-ms-resource-unit: - '1' status: @@ -176,28 +176,28 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'c603620f-3d35-453e-bcde-9f680b44a0f3' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%2723e21d8a-6189-49b8-a31e-ede6f0064f4b%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"63e64527-fcfc-4b49-9620-12448f5c4ba6","deletedDateTime":null,"appId":"c603620f-3d35-453e-bcde-9f680b44a0f3","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:05Z","displayName":"azure-cli-test000001","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000001"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADMultipleOrgs","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":null,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"b675c436-d2a8-4afe-971f-38ebaa1ee98d","deletedDateTime":null,"appId":"23e21d8a-6189-49b8-a31e-ede6f0064f4b","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:12Z","displayName":"azure-cli-test000001","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000001"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADMultipleOrgs","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":null,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet - Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-06-08T05:55:05Z","key":null,"keyId":"0042d742-d4ef-411d-83c7-ed6dfbb1d653","startDateTime":"2022-06-09T05:55:05Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:11Z","key":null,"keyId":"9eae04f3-d2a2-4028-908b-2588eb1e68c7","startDateTime":"2022-08-08T07:28:11Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '3123' + - '3146' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:07 GMT + - Mon, 08 Aug 2022 07:28:13 GMT odata-version: - '4.0' request-id: - - ceb0826b-0d41-4a91-975a-e466023350e3 + - 80d45326-4669-44a9-b8d5-2302e2d385e0 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -205,7 +205,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00008132"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00002334"}}' x-ms-resource-unit: - '2' status: @@ -227,9 +227,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: DELETE - uri: https://graph.microsoft.com/v1.0/applications/63e64527-fcfc-4b49-9620-12448f5c4ba6 + uri: https://graph.microsoft.com/v1.0/applications/b675c436-d2a8-4afe-971f-38ebaa1ee98d response: body: string: '' @@ -237,13 +237,13 @@ interactions: cache-control: - no-cache date: - - Thu, 09 Jun 2022 05:55:08 GMT + - Mon, 08 Aug 2022 07:28:14 GMT request-id: - - 426744cc-e102-4706-8a92-2678a3f3dcc0 + - df949c94-5f11-4e43-b445-a340a02ba5ef strict-transport-security: - max-age=31536000 x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00005AD4"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BCF"}}' x-ms-resource-unit: - '1' status: @@ -263,9 +263,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'c603620f-3d35-453e-bcde-9f680b44a0f3' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%2723e21d8a-6189-49b8-a31e-ede6f0064f4b%27 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[]}' @@ -277,11 +277,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:09 GMT + - Mon, 08 Aug 2022 07:28:14 GMT odata-version: - '4.0' request-id: - - a9a383d1-432c-441b-b97e-cd77027d4ad0 + - 1a4dda74-4130-4d06-9d90-d6376bb20271 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -289,7 +289,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00008135"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000286F"}}' x-ms-resource-unit: - '2' status: @@ -309,13 +309,13 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/c603620f-3d35-453e-bcde-9f680b44a0f3 + uri: https://graph.microsoft.com/v1.0/applications/23e21d8a-6189-49b8-a31e-ede6f0064f4b response: body: - string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''c603620f-3d35-453e-bcde-9f680b44a0f3'' - does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-06-09T05:55:10","request-id":"55ad3e12-90f4-48a2-9fc8-e127d94b3468","client-request-id":"55ad3e12-90f4-48a2-9fc8-e127d94b3468"}}}' + string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''23e21d8a-6189-49b8-a31e-ede6f0064f4b'' + does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-08-08T07:28:16","request-id":"d2b7c42a-bbba-4e7f-aec6-a9a4a0419c13","client-request-id":"d2b7c42a-bbba-4e7f-aec6-a9a4a0419c13"}}}' headers: cache-control: - no-cache @@ -324,9 +324,9 @@ interactions: content-type: - application/json date: - - Thu, 09 Jun 2022 05:55:10 GMT + - Mon, 08 Aug 2022 07:28:15 GMT request-id: - - 55ad3e12-90f4-48a2-9fc8-e127d94b3468 + - d2b7c42a-bbba-4e7f-aec6-a9a4a0419c13 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -334,7 +334,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00008132"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000018C8"}}' x-ms-resource-unit: - '1' status: @@ -354,9 +354,9 @@ interactions: ParameterSetName: - --display-name User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=startswith(displayName,'azure-cli-test000002') + uri: https://graph.microsoft.com/v1.0/applications?$filter=startswith%28displayName%2C%27azure-cli-test000002%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[]}' @@ -368,11 +368,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:10 GMT + - Mon, 08 Aug 2022 07:28:16 GMT odata-version: - '4.0' request-id: - - 23da0b50-21ff-490f-8bc4-0858ce291072 + - cb558b73-8560-4233-8983-3711f37ad99c strict-transport-security: - max-age=31536000 transfer-encoding: @@ -380,7 +380,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A46"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000286D"}}' x-ms-resource-unit: - '2' status: @@ -404,46 +404,46 @@ interactions: ParameterSetName: - --display-name User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: POST uri: https://graph.microsoft.com/v1.0/applications response: body: string: '{"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#applications/$entity", - "id": "fec5d7b5-eed3-41c1-8395-9f6d6f9acb17", "deletedDateTime": null, "appId": - "9ea29e9c-a202-40d6-ad70-d9404521cd49", "applicationTemplateId": null, "disabledByMicrosoftStatus": - null, "createdDateTime": "2022-06-09T05:55:12.4591047Z", "displayName": "azure-cli-test000002", + "id": "cc5551f4-c21c-4086-a263-18f196bb98dd", "deletedDateTime": null, "appId": + "caa32f26-6d8f-4a8e-8f22-df605af2996a", "applicationTemplateId": null, "disabledByMicrosoftStatus": + null, "createdDateTime": "2022-08-08T07:28:17.0988307Z", "displayName": "azure-cli-test000002", "description": null, "groupMembershipClaims": null, "identifierUris": [], "isDeviceOnlyAuthSupported": null, "isFallbackPublicClient": null, "notes": null, "publisherDomain": "AzureSDKTeam.onmicrosoft.com", "serviceManagementReference": null, "signInAudience": "AzureADandPersonalMicrosoftAccount", "tags": [], - "tokenEncryptionKeyId": null, "defaultRedirectUri": null, "certification": - null, "optionalClaims": null, "addIns": [], "api": {"acceptMappedClaims": - null, "knownClientApplications": [], "requestedAccessTokenVersion": 2, "oauth2PermissionScopes": - [], "preAuthorizedApplications": []}, "appRoles": [], "info": {"logoUrl": - null, "marketingUrl": null, "privacyStatementUrl": null, "supportUrl": null, - "termsOfServiceUrl": null}, "keyCredentials": [], "parentalControlSettings": - {"countriesBlockedForMinors": [], "legalAgeGroupRule": "Allow"}, "passwordCredentials": - [], "publicClient": {"redirectUris": []}, "requiredResourceAccess": [], "verifiedPublisher": - {"displayName": null, "verifiedPublisherId": null, "addedDateTime": null}, - "web": {"homePageUrl": null, "logoutUrl": null, "redirectUris": [], "implicitGrantSettings": - {"enableAccessTokenIssuance": false, "enableIdTokenIssuance": false}}, "spa": - {"redirectUris": []}}' + "tokenEncryptionKeyId": null, "samlMetadataUrl": null, "defaultRedirectUri": + null, "certification": null, "optionalClaims": null, "addIns": [], "api": + {"acceptMappedClaims": null, "knownClientApplications": [], "requestedAccessTokenVersion": + 2, "oauth2PermissionScopes": [], "preAuthorizedApplications": []}, "appRoles": + [], "info": {"logoUrl": null, "marketingUrl": null, "privacyStatementUrl": + null, "supportUrl": null, "termsOfServiceUrl": null}, "keyCredentials": [], + "parentalControlSettings": {"countriesBlockedForMinors": [], "legalAgeGroupRule": + "Allow"}, "passwordCredentials": [], "publicClient": {"redirectUris": []}, + "requiredResourceAccess": [], "verifiedPublisher": {"displayName": null, "verifiedPublisherId": + null, "addedDateTime": null}, "web": {"homePageUrl": null, "logoutUrl": null, + "redirectUris": [], "implicitGrantSettings": {"enableAccessTokenIssuance": + false, "enableIdTokenIssuance": false}}, "spa": {"redirectUris": []}}' headers: cache-control: - no-cache content-length: - - '1595' + - '1620' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:13 GMT + - Mon, 08 Aug 2022 07:28:17 GMT location: - - https://graph.microsoft.com/v2/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/directoryObjects/fec5d7b5-eed3-41c1-8395-9f6d6f9acb17/Microsoft.DirectoryServices.Application + - https://graph.microsoft.com/v2/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/directoryObjects/cc5551f4-c21c-4086-a263-18f196bb98dd/Microsoft.DirectoryServices.Application odata-version: - '4.0' request-id: - - 4f6b2f53-fd6e-423a-af61-0229dd45003c + - 2372562b-a3a0-42bd-90fc-e4e8c69601e9 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -451,7 +451,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A46"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BCF"}}' x-ms-resource-unit: - '1' status: @@ -473,25 +473,25 @@ interactions: --web-redirect-uris --enable-access-token-issuance --enable-id-token-issuance --key-value --public-client-redirect-uris --app-roles --optional-claims --required-resource-accesses User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'9ea29e9c-a202-40d6-ad70-d9404521cd49' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000002","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":null,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000002","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":null,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '1486' + - '1509' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:14 GMT + - Mon, 08 Aug 2022 07:28:18 GMT odata-version: - '4.0' request-id: - - 1c36932e-7f03-4771-83d6-67c509a63fd3 + - 7ab8ccfb-84cf-40b5-9730-c441fced81c0 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -499,14 +499,35 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00007865"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BC8"}}' x-ms-resource-unit: - '2' status: code: 200 message: OK - request: - body: null + body: '{"displayName": "azure-cli-test000003", "identifierUris": ["api://azure-cli-test000003"], + "isFallbackPublicClient": true, "keyCredentials": [{"@odata.type": "#microsoft.graph.keyCredential", + "displayName": null, "endDateTime": "2023-08-07T07:28:18Z", "key": "MIIDazCCAlOgAwIBAgIUIp5vybhHfKN+ZKL28AntYKhlKXkwDQYJKoZIhvcNAQELBQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMDA3MjIwNzE3NDdaFw00NzEyMDgwNzE3NDdaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDMa00H+/p4RP4Eo//1J81Wowo4y1SKOJHbJ6T/lZ735FzFX52gdQ/7HalJOwQdbha78RPGA7bXxEmyEo+q3w+IMYzrqboX5S9yf0v1DZvja/VEMtUsq79d7NUUEd+smkuqDxDHFIkMeMM8cXy6tc+TPbc28BkQQiKbzOEZDwy4HPd7FCqCwwcZtgxfxFQx5A2DkAXtT53zQD8k1zY4UQWhkKDcgvINzQfYxJmUbXqH27MuJuejhpWLjmwEFCQtMJMrEv44YmlDzmL64iN5HFckO65ikV9fe9g9EcR5acSY2bsO8WyFYzTffVXFpFF011Vi4d/U0h4wSwj5KLMYMHkfAgMBAAGjUzBRMB0GA1UdDgQWBBQxgpSKG7fwIHEopaRA10GB8Z8SOTAfBgNVHSMEGDAWgBQxgpSKG7fwIHEopaRA10GB8Z8SOTAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAtI5vbHGxVV3qRtd9PEFe9dUb9Yv9YIa5RUd5l795cgr6qyELfg3xTPZbNf1oUHpGXNCfm1uqNTorIKOIEoTpA+STVwST/xcqzB6VjS31I/5IIrdK2NQenM+0DVJa+yGhX+zI3+X3cO2YbyLSKBYqdMsqgnMS/ZC0NnrvigHgq2SC4Vzg8yz5rorjvLJ6ndehtoWOtdCJKUTPihNh4e+GM2A7UNKdt5WKCiS/n/lShvm+8JEG2lXQmmxR6DOjdDyC4/6tf7Ln7YoZZ0q6ICp04oMF6bvgGosdOkQATW4X97EmcfIBfHPX2w/Xn47np2rZrlBMWCjI8gO6W8YQMu7AH", + "keyId": "de6eff1c-8be0-4bf6-b701-1e6251d9bff8", "startDateTime": "2022-08-08T07:28:18Z", + "type": "AsymmetricX509Cert", "usage": "Verify"}], "web": {"homePageUrl": "https://myapp.com/", + "redirectUris": ["http://localhost/webtest1", "http://localhost/webtest2"], + "implicitGrantSettings": {"enableIdTokenIssuance": true, "enableAccessTokenIssuance": + true}}, "publicClient": {"redirectUris": ["http://localhost/publicclienttest1", + "http://localhost/publicclienttest2"]}, "appRoles": [{"allowedMemberTypes": + ["User"], "displayName": "Writer", "id": "d1c2ade8-0000-0000-0000-6d06b947c66f", + "isEnabled": true, "description": "Writers Have the ability to create tasks.", + "value": "Writer"}, {"allowedMemberTypes": ["Application"], "displayName": "ConsumerApps", + "id": "47fbb575-0000-0000-0000-0f7a6c30beac", "isEnabled": true, "description": + "Consumer apps have access to the consumer data.", "value": "Consumer"}], "optionalClaims": + {"idToken": [{"name": "auth_time", "essential": false}], "accessToken": [{"name": + "ipaddr", "essential": false}], "saml2Token": [{"name": "upn", "essential": + false}, {"name": "extension_ab603c56068041afb2f6832e2a17e237_skypeId", "source": + "user", "essential": false}]}, "requiredResourceAccess": [{"resourceAccess": + [{"id": "41094075-9dad-400e-a0bd-54e686782033", "type": "Scope"}], "resourceAppId": + "797f4846-ba00-4fd7-ba43-dac1f8f63013"}, {"resourceAccess": [{"id": "c79f8feb-a9db-4090-85f9-90d820caa0eb", + "type": "Scope"}, {"id": "18a4783c-866b-4cc7-a460-3d5e5662c884", "type": "Role"}], + "resourceAppId": "00000003-0000-0000-c000-000000000000"}]}' headers: Accept: - '*/*' @@ -516,30 +537,122 @@ interactions: - ad app update Connection: - keep-alive + Content-Length: + - '3010' + Content-Type: + - application/json ParameterSetName: - --id --display-name --identifier-uris --is-fallback-public-client --web-home-page-url --web-redirect-uris --enable-access-token-issuance --enable-id-token-issuance --key-value --public-client-redirect-uris --app-roles --optional-claims --required-resource-accesses User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 + method: PATCH + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Mon, 08 Aug 2022 07:28:19 GMT + request-id: + - 5b1ee956-73d4-4652-8450-110ecf487abb + strict-transport-security: + - max-age=31536000 + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BCE"}}' + x-ms-resource-unit: + - '1' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad app show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 + method: GET + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 + response: + body: + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers + Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' + headers: + cache-control: + - no-cache + content-length: + - '3158' + content-type: + - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 + date: + - Mon, 08 Aug 2022 07:28:20 GMT + odata-version: + - '4.0' + request-id: + - 7fc79c34-3df0-4ac5-8c14-62e9794dbfae + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000163A"}}' + x-ms-resource-unit: + - '2' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad app show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/fec5d7b5-eed3-41c1-8395-9f6d6f9acb17 + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000002","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":null,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers + Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}' headers: cache-control: - no-cache content-length: - - '1482' + - '3154' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:15 GMT + - Mon, 08 Aug 2022 07:28:20 GMT odata-version: - '4.0' request-id: - - 42bb2d6c-90b9-4046-8126-96a65959578e + - 5a631137-ff33-4ef3-b1e5-e0296fddcbf8 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -547,7 +660,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A46"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000286E"}}' x-ms-resource-unit: - '1' status: @@ -565,29 +678,30 @@ interactions: Connection: - keep-alive ParameterSetName: - - --id --display-name --identifier-uris --is-fallback-public-client --web-home-page-url - --web-redirect-uris --enable-access-token-issuance --enable-id-token-issuance - --key-value --public-client-redirect-uris --app-roles --optional-claims --required-resource-accesses + - --id --set User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'9ea29e9c-a202-40d6-ad70-d9404521cd49' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000002","description":null,"groupMembershipClaims":null,"identifierUris":[],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":null,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers + Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '1486' + - '3158' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:17 GMT + - Mon, 08 Aug 2022 07:28:21 GMT odata-version: - '4.0' request-id: - - 8439d003-11bb-4765-888b-cb0e7a4c4109 + - 54798293-6ecc-426d-828c-0b58ecd28349 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -595,35 +709,14 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF0000812D"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001642"}}' x-ms-resource-unit: - '2' status: code: 200 message: OK - request: - body: '{"displayName": "azure-cli-test000003", "identifierUris": ["api://azure-cli-test000003"], - "isFallbackPublicClient": true, "keyCredentials": [{"@odata.type": "#microsoft.graph.keyCredential", - "displayName": null, "endDateTime": "2023-06-08T05:55:17Z", "key": "MIIDazCCAlOgAwIBAgIUIp5vybhHfKN+ZKL28AntYKhlKXkwDQYJKoZIhvcNAQELBQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMDA3MjIwNzE3NDdaFw00NzEyMDgwNzE3NDdaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDMa00H+/p4RP4Eo//1J81Wowo4y1SKOJHbJ6T/lZ735FzFX52gdQ/7HalJOwQdbha78RPGA7bXxEmyEo+q3w+IMYzrqboX5S9yf0v1DZvja/VEMtUsq79d7NUUEd+smkuqDxDHFIkMeMM8cXy6tc+TPbc28BkQQiKbzOEZDwy4HPd7FCqCwwcZtgxfxFQx5A2DkAXtT53zQD8k1zY4UQWhkKDcgvINzQfYxJmUbXqH27MuJuejhpWLjmwEFCQtMJMrEv44YmlDzmL64iN5HFckO65ikV9fe9g9EcR5acSY2bsO8WyFYzTffVXFpFF011Vi4d/U0h4wSwj5KLMYMHkfAgMBAAGjUzBRMB0GA1UdDgQWBBQxgpSKG7fwIHEopaRA10GB8Z8SOTAfBgNVHSMEGDAWgBQxgpSKG7fwIHEopaRA10GB8Z8SOTAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAtI5vbHGxVV3qRtd9PEFe9dUb9Yv9YIa5RUd5l795cgr6qyELfg3xTPZbNf1oUHpGXNCfm1uqNTorIKOIEoTpA+STVwST/xcqzB6VjS31I/5IIrdK2NQenM+0DVJa+yGhX+zI3+X3cO2YbyLSKBYqdMsqgnMS/ZC0NnrvigHgq2SC4Vzg8yz5rorjvLJ6ndehtoWOtdCJKUTPihNh4e+GM2A7UNKdt5WKCiS/n/lShvm+8JEG2lXQmmxR6DOjdDyC4/6tf7Ln7YoZZ0q6ICp04oMF6bvgGosdOkQATW4X97EmcfIBfHPX2w/Xn47np2rZrlBMWCjI8gO6W8YQMu7AH", - "keyId": "eee0bc39-e932-452a-b16e-8c4f4a670ec9", "startDateTime": "2022-06-09T05:55:17Z", - "type": "AsymmetricX509Cert", "usage": "Verify"}], "web": {"homePageUrl": "https://myapp.com/", - "redirectUris": ["http://localhost/webtest1", "http://localhost/webtest2"], - "implicitGrantSettings": {"enableIdTokenIssuance": true, "enableAccessTokenIssuance": - true}}, "publicClient": {"redirectUris": ["http://localhost/publicclienttest1", - "http://localhost/publicclienttest2"]}, "appRoles": [{"allowedMemberTypes": - ["User"], "displayName": "Writer", "id": "d1c2ade8-0000-0000-0000-6d06b947c66f", - "isEnabled": true, "description": "Writers Have the ability to create tasks.", - "value": "Writer"}, {"allowedMemberTypes": ["Application"], "displayName": "ConsumerApps", - "id": "47fbb575-0000-0000-0000-0f7a6c30beac", "isEnabled": true, "description": - "Consumer apps have access to the consumer data.", "value": "Consumer"}], "optionalClaims": - {"idToken": [{"name": "auth_time", "essential": false}], "accessToken": [{"name": - "ipaddr", "essential": false}], "saml2Token": [{"name": "upn", "essential": - false}, {"name": "extension_ab603c56068041afb2f6832e2a17e237_skypeId", "source": - "user", "essential": false}]}, "requiredResourceAccess": [{"resourceAccess": - [{"id": "41094075-9dad-400e-a0bd-54e686782033", "type": "Scope"}], "resourceAppId": - "797f4846-ba00-4fd7-ba43-dac1f8f63013"}, {"resourceAccess": [{"id": "c79f8feb-a9db-4090-85f9-90d820caa0eb", - "type": "Scope"}, {"id": "18a4783c-866b-4cc7-a460-3d5e5662c884", "type": "Role"}], - "resourceAppId": "00000003-0000-0000-c000-000000000000"}]}' + body: '{"isDeviceOnlyAuthSupported": true}' headers: Accept: - '*/*' @@ -634,17 +727,15 @@ interactions: Connection: - keep-alive Content-Length: - - '3010' + - '35' Content-Type: - application/json ParameterSetName: - - --id --display-name --identifier-uris --is-fallback-public-client --web-home-page-url - --web-redirect-uris --enable-access-token-issuance --enable-id-token-issuance - --key-value --public-client-redirect-uris --app-roles --optional-claims --required-resource-accesses + - --id --set User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: PATCH - uri: https://graph.microsoft.com/v1.0/applications/fec5d7b5-eed3-41c1-8395-9f6d6f9acb17 + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd response: body: string: '' @@ -652,13 +743,13 @@ interactions: cache-control: - no-cache date: - - Thu, 09 Jun 2022 05:55:19 GMT + - Mon, 08 Aug 2022 07:28:23 GMT request-id: - - 716c5fbc-d636-4268-ac29-f3c4f56a281a + - 7fc45085-5223-45d7-8c99-308290cc1f1a strict-transport-security: - max-age=31536000 x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF000083AA"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000022D6"}}' x-ms-resource-unit: - '1' status: @@ -678,28 +769,28 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'9ea29e9c-a202-40d6-ad70-d9404521cd49' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":true,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet - Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-06-08T05:55:17Z","key":null,"keyId":"eee0bc39-e932-452a-b16e-8c4f4a670ec9","startDateTime":"2022-06-09T05:55:17Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '3135' + - '3158' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:20 GMT + - Mon, 08 Aug 2022 07:28:25 GMT odata-version: - '4.0' request-id: - - 8bfcdf1a-b150-4e45-814c-2823df21a7ed + - b51b2a3c-7169-4078-8ca5-9d8b804f5d6b strict-transport-security: - max-age=31536000 transfer-encoding: @@ -707,7 +798,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A46"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00002334"}}' x-ms-resource-unit: - '2' status: @@ -727,28 +818,28 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/fec5d7b5-eed3-41c1-8395-9f6d6f9acb17 + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":true,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet - Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-06-08T05:55:17Z","key":null,"keyId":"eee0bc39-e932-452a-b16e-8c4f4a670ec9","startDateTime":"2022-06-09T05:55:17Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}' + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}' headers: cache-control: - no-cache content-length: - - '3131' + - '3154' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:21 GMT + - Mon, 08 Aug 2022 07:28:25 GMT odata-version: - '4.0' request-id: - - 33794407-7df9-48f9-89c5-e3d6ffa66b91 + - a0ab93cf-f57b-47ca-95e2-3fee94ce6831 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -756,7 +847,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A47"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BC4"}}' x-ms-resource-unit: - '1' status: @@ -776,28 +867,28 @@ interactions: ParameterSetName: - --id --set User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'9ea29e9c-a202-40d6-ad70-d9404521cd49' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":true,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet - Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-06-08T05:55:17Z","key":null,"keyId":"eee0bc39-e932-452a-b16e-8c4f4a670ec9","startDateTime":"2022-06-09T05:55:17Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '3135' + - '3158' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:22 GMT + - Mon, 08 Aug 2022 07:28:26 GMT odata-version: - '4.0' request-id: - - cb71b8e1-49b3-4050-a2c1-7cea0b168d3b + - 8a12410d-8e8d-4910-a705-6ae13fa28e02 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -805,14 +896,14 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00005D69"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000018C8"}}' x-ms-resource-unit: - '2' status: code: 200 message: OK - request: - body: null + body: '{"groupMembershipClaims": "All"}' headers: Accept: - '*/*' @@ -822,31 +913,120 @@ interactions: - ad app update Connection: - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json ParameterSetName: - --id --set User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 + method: PATCH + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Mon, 08 Aug 2022 07:28:27 GMT + request-id: + - 322bc99c-01b1-45ee-ac50-8b650e8c477f + strict-transport-security: + - max-age=31536000 + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00002334"}}' + x-ms-resource-unit: + - '1' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad app show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 + method: GET + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 + response: + body: + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":"All","identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":true,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers + Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' + headers: + cache-control: + - no-cache + content-length: + - '3159' + content-type: + - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 + date: + - Mon, 08 Aug 2022 07:28:28 GMT + odata-version: + - '4.0' + request-id: + - 0d2c865b-4044-4c43-90b2-a9b5d225af7d + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BC8"}}' + x-ms-resource-unit: + - '2' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad app show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/fec5d7b5-eed3-41c1-8395-9f6d6f9acb17 + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":"All","identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":true,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet - Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-06-08T05:55:17Z","key":null,"keyId":"eee0bc39-e932-452a-b16e-8c4f4a670ec9","startDateTime":"2022-06-09T05:55:17Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}' + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}' headers: cache-control: - no-cache content-length: - - '3131' + - '3155' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:22 GMT + - Mon, 08 Aug 2022 07:28:29 GMT odata-version: - '4.0' request-id: - - 88f9d4e5-db5b-4779-90f8-eb6076562e57 + - 7beab8f4-10f1-4395-b936-ba72fadb0f76 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -854,7 +1034,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A30"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000022D3"}}' x-ms-resource-unit: - '1' status: @@ -872,30 +1052,30 @@ interactions: Connection: - keep-alive ParameterSetName: - - --id --set + - --id --parameters User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'9ea29e9c-a202-40d6-ad70-d9404521cd49' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":"All","identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":true,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet - Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-06-08T05:55:17Z","key":null,"keyId":"eee0bc39-e932-452a-b16e-8c4f4a670ec9","startDateTime":"2022-06-09T05:55:17Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '3135' + - '3159' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:24 GMT + - Mon, 08 Aug 2022 07:28:29 GMT odata-version: - '4.0' request-id: - - dce26825-63f5-49d0-b174-f505a5c02fd6 + - c7309d51-3bda-45f7-b54f-4ad6d89085d4 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -903,14 +1083,14 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00008131"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001643"}}' x-ms-resource-unit: - '2' status: code: 200 message: OK - request: - body: '{"isDeviceOnlyAuthSupported": true}' + body: '{"isDeviceOnlyAuthSupported": false}' headers: Accept: - '*/*' @@ -921,15 +1101,202 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '36' Content-Type: - application/json ParameterSetName: - - --id --set + - --id --parameters + User-Agent: + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 + method: PATCH + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Mon, 08 Aug 2022 07:28:30 GMT + request-id: + - b3edbae1-1b1c-4194-acc5-0ba806ce4604 + strict-transport-security: + - max-age=31536000 + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000163A"}}' + x-ms-resource-unit: + - '1' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad app show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 + method: GET + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 + response: + body: + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":"All","identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":false,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers + Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' + headers: + cache-control: + - no-cache + content-length: + - '3160' + content-type: + - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 + date: + - Mon, 08 Aug 2022 07:28:31 GMT + odata-version: + - '4.0' + request-id: + - 466b8351-6e52-4c42-85dc-2c233d77fe1f + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00002870"}}' + x-ms-resource-unit: + - '2' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad app show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 + method: GET + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd + response: + body: + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":"All","identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":false,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers + Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}' + headers: + cache-control: + - no-cache + content-length: + - '3156' + content-type: + - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 + date: + - Mon, 08 Aug 2022 07:28:31 GMT + odata-version: + - '4.0' + request-id: + - bf56149a-4cc6-4299-9094-53e01f1009f9 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00002870"}}' + x-ms-resource-unit: + - '1' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad app update + Connection: + - keep-alive + ParameterSetName: + - --id --parameters + User-Agent: + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 + method: GET + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 + response: + body: + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":"All","identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":false,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers + Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' + headers: + cache-control: + - no-cache + content-length: + - '3160' + content-type: + - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 + date: + - Mon, 08 Aug 2022 07:28:32 GMT + odata-version: + - '4.0' + request-id: + - a0672d12-d61f-46ca-a932-07a9e0060795 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000017E9"}}' + x-ms-resource-unit: + - '2' + status: + code: 200 + message: OK +- request: + body: '{"groupMembershipClaims": "SecurityGroup"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad app update + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + ParameterSetName: + - --id --parameters User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: PATCH - uri: https://graph.microsoft.com/v1.0/applications/fec5d7b5-eed3-41c1-8395-9f6d6f9acb17 + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd response: body: string: '' @@ -937,13 +1304,13 @@ interactions: cache-control: - no-cache date: - - Thu, 09 Jun 2022 05:55:27 GMT + - Mon, 08 Aug 2022 07:28:34 GMT request-id: - - a7d00cc8-5ea3-43ed-b316-e4d07f2aade8 + - ac3cfbee-5d1c-48eb-b72d-bd811ed972f4 strict-transport-security: - max-age=31536000 x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF00002526"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BC1"}}' x-ms-resource-unit: - '1' status: @@ -963,28 +1330,28 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'9ea29e9c-a202-40d6-ad70-d9404521cd49' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":true,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":"SecurityGroup","identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":false,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet - Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-06-08T05:55:17Z","key":null,"keyId":"eee0bc39-e932-452a-b16e-8c4f4a670ec9","startDateTime":"2022-06-09T05:55:17Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '3135' + - '3170' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:27 GMT + - Mon, 08 Aug 2022 07:28:34 GMT odata-version: - '4.0' request-id: - - 2da2dedb-bd9c-46d4-92b1-c8813781626b + - 609838c8-c4f2-402a-8a97-ab5a6e88fc69 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -992,7 +1359,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF00002EBB"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000022D4"}}' x-ms-resource-unit: - '2' status: @@ -1012,28 +1379,28 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/fec5d7b5-eed3-41c1-8395-9f6d6f9acb17 + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":true,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications/$entity","id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":"SecurityGroup","identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":false,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet - Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-06-08T05:55:17Z","key":null,"keyId":"eee0bc39-e932-452a-b16e-8c4f4a670ec9","startDateTime":"2022-06-09T05:55:17Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}' + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}' headers: cache-control: - no-cache content-length: - - '3131' + - '3166' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:28 GMT + - Mon, 08 Aug 2022 07:28:35 GMT odata-version: - '4.0' request-id: - - c824a7c7-0a55-45f4-9d45-d2eccad53f07 + - 9bf002d0-78a8-450c-8db2-a77dff857de3 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1041,7 +1408,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF00002EBC"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000286D"}}' x-ms-resource-unit: - '1' status: @@ -1061,28 +1428,28 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'9ea29e9c-a202-40d6-ad70-d9404521cd49' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"fec5d7b5-eed3-41c1-8395-9f6d6f9acb17","deletedDateTime":null,"appId":"9ea29e9c-a202-40d6-ad70-d9404521cd49","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:55:12Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":true,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"cc5551f4-c21c-4086-a263-18f196bb98dd","deletedDateTime":null,"appId":"caa32f26-6d8f-4a8e-8f22-df605af2996a","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:28:17Z","displayName":"azure-cli-test000003","description":null,"groupMembershipClaims":"SecurityGroup","identifierUris":["api://azure-cli-test000003"],"isDeviceOnlyAuthSupported":false,"isFallbackPublicClient":true,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[{"allowedMemberTypes":["Application"],"description":"Consumer apps have access to the consumer data.","displayName":"ConsumerApps","id":"47fbb575-0000-0000-0000-0f7a6c30beac","isEnabled":true,"origin":"Application","value":"Consumer"},{"allowedMemberTypes":["User"],"description":"Writers Have the ability to create tasks.","displayName":"Writer","id":"d1c2ade8-0000-0000-0000-6d06b947c66f","isEnabled":true,"origin":"Application","value":"Writer"}],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[{"customKeyIdentifier":"7AB4DD9219E5E03ECC025136572DFAA262EC85CB","displayName":"O=Internet - Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-06-08T05:55:17Z","key":null,"keyId":"eee0bc39-e932-452a-b16e-8c4f4a670ec9","startDateTime":"2022-06-09T05:55:17Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' + Widgits Pty Ltd, S=Some-State, C=AU","endDateTime":"2023-08-07T07:28:18Z","key":null,"keyId":"de6eff1c-8be0-4bf6-b701-1e6251d9bff8","startDateTime":"2022-08-08T07:28:18Z","type":"AsymmetricX509Cert","usage":"Verify"}],"optionalClaims":{"accessToken":[{"additionalProperties":[],"essential":false,"name":"ipaddr","source":null}],"idToken":[{"additionalProperties":[],"essential":false,"name":"auth_time","source":null}],"saml2Token":[{"additionalProperties":[],"essential":false,"name":"upn","source":null},{"additionalProperties":[],"essential":false,"name":"extension_ab603c56068041afb2f6832e2a17e237_skypeId","source":"user"}]},"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":["http://localhost/publicclienttest2","http://localhost/publicclienttest1"]},"requiredResourceAccess":[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"c79f8feb-a9db-4090-85f9-90d820caa0eb","type":"Scope"},{"id":"18a4783c-866b-4cc7-a460-3d5e5662c884","type":"Role"}]},{"resourceAppId":"797f4846-ba00-4fd7-ba43-dac1f8f63013","resourceAccess":[{"id":"41094075-9dad-400e-a0bd-54e686782033","type":"Scope"}]}],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":"https://myapp.com/","logoutUrl":null,"redirectUris":["http://localhost/webtest2","http://localhost/webtest1"],"implicitGrantSettings":{"enableAccessTokenIssuance":true,"enableIdTokenIssuance":true}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '3135' + - '3170' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:30 GMT + - Mon, 08 Aug 2022 07:28:35 GMT odata-version: - '4.0' request-id: - - f1adfd5e-1250-4dd0-8ead-6d147b9cdf90 + - ee0e1e00-da86-4d9b-8a84-a35ed39ea1b4 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1090,7 +1457,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF00002016"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001E1D"}}' x-ms-resource-unit: - '2' status: @@ -1112,9 +1479,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: DELETE - uri: https://graph.microsoft.com/v1.0/applications/fec5d7b5-eed3-41c1-8395-9f6d6f9acb17 + uri: https://graph.microsoft.com/v1.0/applications/cc5551f4-c21c-4086-a263-18f196bb98dd response: body: string: '' @@ -1122,13 +1489,13 @@ interactions: cache-control: - no-cache date: - - Thu, 09 Jun 2022 05:55:33 GMT + - Mon, 08 Aug 2022 07:28:43 GMT request-id: - - 03804865-62f7-4d92-8c05-0709f716746e + - 804acd5b-341d-42db-b87a-eb4d171af9e1 strict-transport-security: - max-age=31536000 x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF000028EC"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000286D"}}' x-ms-resource-unit: - '1' status: @@ -1148,9 +1515,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'9ea29e9c-a202-40d6-ad70-d9404521cd49' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[]}' @@ -1162,11 +1529,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:34 GMT + - Mon, 08 Aug 2022 07:28:43 GMT odata-version: - '4.0' request-id: - - fb363197-4b09-4e47-a850-26bc8906dbff + - 2d9e656d-1672-4387-b6e1-057c9268be74 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1174,7 +1541,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF0000318A"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00002334"}}' x-ms-resource-unit: - '2' status: @@ -1194,13 +1561,13 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/9ea29e9c-a202-40d6-ad70-d9404521cd49 + uri: https://graph.microsoft.com/v1.0/applications/caa32f26-6d8f-4a8e-8f22-df605af2996a response: body: - string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''9ea29e9c-a202-40d6-ad70-d9404521cd49'' - does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-06-09T05:55:36","request-id":"b9bb3bf1-9183-4cc6-bed9-63c543949d11","client-request-id":"b9bb3bf1-9183-4cc6-bed9-63c543949d11"}}}' + string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''caa32f26-6d8f-4a8e-8f22-df605af2996a'' + does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-08-08T07:28:44","request-id":"0d2d8ca0-9497-42d3-b41b-475bbe778c3a","client-request-id":"0d2d8ca0-9497-42d3-b41b-475bbe778c3a"}}}' headers: cache-control: - no-cache @@ -1209,9 +1576,9 @@ interactions: content-type: - application/json date: - - Thu, 09 Jun 2022 05:55:35 GMT + - Mon, 08 Aug 2022 07:28:44 GMT request-id: - - b9bb3bf1-9183-4cc6-bed9-63c543949d11 + - 0d2d8ca0-9497-42d3-b41b-475bbe778c3a strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1219,7 +1586,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF00001309"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000018C8"}}' x-ms-resource-unit: - '1' status: @@ -1239,9 +1606,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'9ea29e9c-a202-40d6-ad70-d9404521cd49' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%27caa32f26-6d8f-4a8e-8f22-df605af2996a%27 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[]}' @@ -1253,11 +1620,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:55:36 GMT + - Mon, 08 Aug 2022 07:28:44 GMT odata-version: - '4.0' request-id: - - 2ad2f560-d64f-4cf4-8486-5d4ac4b3e8b4 + - 02e624eb-3580-419d-8568-964d87e40685 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1265,7 +1632,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF0000252C"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001E1F"}}' x-ms-resource-unit: - '2' status: @@ -1285,13 +1652,13 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/9ea29e9c-a202-40d6-ad70-d9404521cd49 + uri: https://graph.microsoft.com/v1.0/applications/caa32f26-6d8f-4a8e-8f22-df605af2996a response: body: - string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''9ea29e9c-a202-40d6-ad70-d9404521cd49'' - does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-06-09T05:55:37","request-id":"46c4f580-52e3-48e1-9f3d-46139b9379f3","client-request-id":"46c4f580-52e3-48e1-9f3d-46139b9379f3"}}}' + string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''caa32f26-6d8f-4a8e-8f22-df605af2996a'' + does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-08-08T07:28:45","request-id":"807c14fe-878f-4dc8-a39f-dbe210ec3433","client-request-id":"807c14fe-878f-4dc8-a39f-dbe210ec3433"}}}' headers: cache-control: - no-cache @@ -1300,9 +1667,9 @@ interactions: content-type: - application/json date: - - Thu, 09 Jun 2022 05:55:37 GMT + - Mon, 08 Aug 2022 07:28:45 GMT request-id: - - 46c4f580-52e3-48e1-9f3d-46139b9379f3 + - 807c14fe-878f-4dc8-a39f-dbe210ec3433 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1310,7 +1677,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF00002526"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000018C8"}}' x-ms-resource-unit: - '1' status: diff --git a/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_service_principal_scenario.yaml b/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_service_principal_scenario.yaml index a6e0519a9be..058e274fcd9 100644 --- a/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_service_principal_scenario.yaml +++ b/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_service_principal_scenario.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - --display-name --identifier-uris User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=startswith(displayName,'azure-cli-test000001') + uri: https://graph.microsoft.com/v1.0/applications?$filter=startswith%28displayName%2C%27azure-cli-test000001%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[]}' @@ -27,11 +27,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:34 GMT + - Mon, 08 Aug 2022 07:56:39 GMT odata-version: - '4.0' request-id: - - bad7429e-f35c-4ea5-8587-5f71d1f3fefc + - b4751014-9243-43fa-a841-c934d7b1eee1 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -39,7 +39,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001640"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00008131"}}' x-ms-resource-unit: - '2' status: @@ -64,46 +64,46 @@ interactions: ParameterSetName: - --display-name --identifier-uris User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: POST uri: https://graph.microsoft.com/v1.0/applications response: body: string: '{"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#applications/$entity", - "id": "497434e7-c384-45d3-ac72-f7de210d6ca3", "deletedDateTime": null, "appId": - "4faba265-b3a0-4bfd-8f56-f8a1a0cee277", "applicationTemplateId": null, "disabledByMicrosoftStatus": - null, "createdDateTime": "2022-06-09T05:47:37.1586154Z", "displayName": "azure-cli-test000001", + "id": "ffc622a8-6eb1-47bf-90ff-e9fc6b4b8cd1", "deletedDateTime": null, "appId": + "4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da", "applicationTemplateId": null, "disabledByMicrosoftStatus": + null, "createdDateTime": "2022-08-08T07:56:40.8135681Z", "displayName": "azure-cli-test000001", "description": null, "groupMembershipClaims": null, "identifierUris": ["api://azure-cli-test000001"], "isDeviceOnlyAuthSupported": null, "isFallbackPublicClient": null, "notes": null, "publisherDomain": "AzureSDKTeam.onmicrosoft.com", "serviceManagementReference": null, "signInAudience": "AzureADandPersonalMicrosoftAccount", "tags": [], - "tokenEncryptionKeyId": null, "defaultRedirectUri": null, "certification": - null, "optionalClaims": null, "addIns": [], "api": {"acceptMappedClaims": - null, "knownClientApplications": [], "requestedAccessTokenVersion": 2, "oauth2PermissionScopes": - [], "preAuthorizedApplications": []}, "appRoles": [], "info": {"logoUrl": - null, "marketingUrl": null, "privacyStatementUrl": null, "supportUrl": null, - "termsOfServiceUrl": null}, "keyCredentials": [], "parentalControlSettings": - {"countriesBlockedForMinors": [], "legalAgeGroupRule": "Allow"}, "passwordCredentials": - [], "publicClient": {"redirectUris": []}, "requiredResourceAccess": [], "verifiedPublisher": - {"displayName": null, "verifiedPublisherId": null, "addedDateTime": null}, - "web": {"homePageUrl": null, "logoutUrl": null, "redirectUris": [], "implicitGrantSettings": - {"enableAccessTokenIssuance": false, "enableIdTokenIssuance": false}}, "spa": - {"redirectUris": []}}' + "tokenEncryptionKeyId": null, "samlMetadataUrl": null, "defaultRedirectUri": + null, "certification": null, "optionalClaims": null, "addIns": [], "api": + {"acceptMappedClaims": null, "knownClientApplications": [], "requestedAccessTokenVersion": + 2, "oauth2PermissionScopes": [], "preAuthorizedApplications": []}, "appRoles": + [], "info": {"logoUrl": null, "marketingUrl": null, "privacyStatementUrl": + null, "supportUrl": null, "termsOfServiceUrl": null}, "keyCredentials": [], + "parentalControlSettings": {"countriesBlockedForMinors": [], "legalAgeGroupRule": + "Allow"}, "passwordCredentials": [], "publicClient": {"redirectUris": []}, + "requiredResourceAccess": [], "verifiedPublisher": {"displayName": null, "verifiedPublisherId": + null, "addedDateTime": null}, "web": {"homePageUrl": null, "logoutUrl": null, + "redirectUris": [], "implicitGrantSettings": {"enableAccessTokenIssuance": + false, "enableIdTokenIssuance": false}}, "spa": {"redirectUris": []}}' headers: cache-control: - no-cache content-length: - - '1623' + - '1648' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:38 GMT + - Mon, 08 Aug 2022 07:56:42 GMT location: - - https://graph.microsoft.com/v2/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/directoryObjects/497434e7-c384-45d3-ac72-f7de210d6ca3/Microsoft.DirectoryServices.Application + - https://graph.microsoft.com/v2/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/directoryObjects/ffc622a8-6eb1-47bf-90ff-e9fc6b4b8cd1/Microsoft.DirectoryServices.Application odata-version: - '4.0' request-id: - - 77a71246-111f-4f51-9ecd-bd2c6ffdf49a + - 5723effd-77f3-4335-9fff-424755859df3 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -111,7 +111,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000163A"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00008132"}}' x-ms-resource-unit: - '1' status: @@ -131,25 +131,25 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'4faba265-b3a0-4bfd-8f56-f8a1a0cee277' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%274eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"497434e7-c384-45d3-ac72-f7de210d6ca3","deletedDateTime":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:47:37Z","displayName":"azure-cli-test000001","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000001"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":null,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"ffc622a8-6eb1-47bf-90ff-e9fc6b4b8cd1","deletedDateTime":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:56:40Z","displayName":"azure-cli-test000001","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000001"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":null,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '1514' + - '1537' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:39 GMT + - Mon, 08 Aug 2022 07:56:43 GMT odata-version: - '4.0' request-id: - - 1894ed72-fea1-488c-9bc1-153a5455e6c7 + - 1eca83f2-ae6d-4685-9a24-d0f409817df0 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -157,14 +157,14 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001E1F"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF0000657B"}}' x-ms-resource-unit: - '2' status: code: 200 message: OK - request: - body: '{"appId": "4faba265-b3a0-4bfd-8f56-f8a1a0cee277", "accountEnabled": true}' + body: '{"appId": "4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da", "accountEnabled": true}' headers: Accept: - '*/*' @@ -181,12 +181,12 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: POST uri: https://graph.microsoft.com/v1.0/servicePrincipals response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"0d380b48-63eb-4a1b-8023-a5af7aaf2f6d","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-06-09T05:47:40Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["4faba265-b3a0-4bfd-8f56-f8a1a0cee277","api://azure-cli-test000001"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"4aa34488-231e-4559-920b-85d71007197e","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-08-08T07:56:44Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","api://azure-cli-test000001"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' headers: cache-control: - no-cache @@ -195,13 +195,13 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:40 GMT + - Mon, 08 Aug 2022 07:56:44 GMT location: - - https://graph.microsoft.com/v2/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/directoryObjects/0d380b48-63eb-4a1b-8023-a5af7aaf2f6d/Microsoft.DirectoryServices.ServicePrincipal + - https://graph.microsoft.com/v2/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/directoryObjects/4aa34488-231e-4559-920b-85d71007197e/Microsoft.DirectoryServices.ServicePrincipal odata-version: - '4.0' request-id: - - d50dcd0a-4393-4671-b074-d78f9730054b + - d0c7c6ac-08de-4645-9333-fac84686ce79 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -209,7 +209,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000163A"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A31"}}' x-ms-resource-unit: - '1' status: @@ -229,12 +229,12 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'4faba265-b3a0-4bfd-8f56-f8a1a0cee277') + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%274eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da%27%29 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[{"id":"0d380b48-63eb-4a1b-8023-a5af7aaf2f6d","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-06-09T05:47:40Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4faba265-b3a0-4bfd-8f56-f8a1a0cee277"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[{"id":"4aa34488-231e-4559-920b-85d71007197e","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-08-08T07:56:44Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}]}' headers: cache-control: - no-cache @@ -243,11 +243,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:40 GMT + - Mon, 08 Aug 2022 07:56:44 GMT odata-version: - '4.0' request-id: - - 3b596951-e22c-4ec3-b900-54f7d392f418 + - 3bf7cbc6-0137-4764-b0ef-9f8d24075a96 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -255,7 +255,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001E1D"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00007868"}}' x-ms-resource-unit: - '1' status: @@ -275,12 +275,12 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals/0d380b48-63eb-4a1b-8023-a5af7aaf2f6d + uri: https://graph.microsoft.com/v1.0/servicePrincipals/4aa34488-231e-4559-920b-85d71007197e response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"0d380b48-63eb-4a1b-8023-a5af7aaf2f6d","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-06-09T05:47:40Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4faba265-b3a0-4bfd-8f56-f8a1a0cee277"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"4aa34488-231e-4559-920b-85d71007197e","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-08-08T07:56:44Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' headers: cache-control: - no-cache @@ -289,11 +289,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:41 GMT + - Mon, 08 Aug 2022 07:56:45 GMT odata-version: - '4.0' request-id: - - 877719e1-3661-4bc2-9359-917084901aa2 + - c6a03af9-4a43-4a51-bd48-0a98056b7183 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -301,7 +301,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00002335"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF000093ED"}}' x-ms-resource-unit: - '1' status: @@ -321,12 +321,12 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'api://azure-cli-test000001') + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%27api%3A%2F%2Fazure-cli-test000001%27%29 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[{"id":"0d380b48-63eb-4a1b-8023-a5af7aaf2f6d","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-06-09T05:47:40Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4faba265-b3a0-4bfd-8f56-f8a1a0cee277"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[{"id":"4aa34488-231e-4559-920b-85d71007197e","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-08-08T07:56:44Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}]}' headers: cache-control: - no-cache @@ -335,11 +335,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:42 GMT + - Mon, 08 Aug 2022 07:56:45 GMT odata-version: - '4.0' request-id: - - 2aeb0cf6-75c3-45d8-acc8-7dd34d524690 + - db6f74cc-0bb6-4548-b780-3954d39a57eb strict-transport-security: - max-age=31536000 transfer-encoding: @@ -347,7 +347,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000022D3"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00005AD4"}}' x-ms-resource-unit: - '1' status: @@ -367,12 +367,12 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals/0d380b48-63eb-4a1b-8023-a5af7aaf2f6d + uri: https://graph.microsoft.com/v1.0/servicePrincipals/4aa34488-231e-4559-920b-85d71007197e response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"0d380b48-63eb-4a1b-8023-a5af7aaf2f6d","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-06-09T05:47:40Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4faba265-b3a0-4bfd-8f56-f8a1a0cee277"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"4aa34488-231e-4559-920b-85d71007197e","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-08-08T07:56:44Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' headers: cache-control: - no-cache @@ -381,11 +381,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:43 GMT + - Mon, 08 Aug 2022 07:56:46 GMT odata-version: - '4.0' request-id: - - cdc5f976-8ad9-46b7-afeb-a005f0baafaf + - fe0c43de-bd8c-45b8-b743-ed8e49b42f3c strict-transport-security: - max-age=31536000 transfer-encoding: @@ -393,7 +393,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00002335"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A2F"}}' x-ms-resource-unit: - '1' status: @@ -413,9 +413,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'0d380b48-63eb-4a1b-8023-a5af7aaf2f6d') + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%274aa34488-231e-4559-920b-85d71007197e%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[]}' @@ -427,11 +427,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:45 GMT + - Mon, 08 Aug 2022 07:56:47 GMT odata-version: - '4.0' request-id: - - 78033b93-6393-41f6-b4cd-e06fc18dde53 + - d00988fa-b389-479a-800e-2317956e0c97 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -439,7 +439,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000022D5"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF000093EB"}}' x-ms-resource-unit: - '1' status: @@ -459,12 +459,12 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals/0d380b48-63eb-4a1b-8023-a5af7aaf2f6d + uri: https://graph.microsoft.com/v1.0/servicePrincipals/4aa34488-231e-4559-920b-85d71007197e response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"0d380b48-63eb-4a1b-8023-a5af7aaf2f6d","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-06-09T05:47:40Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4faba265-b3a0-4bfd-8f56-f8a1a0cee277"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"4aa34488-231e-4559-920b-85d71007197e","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-08-08T07:56:44Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' headers: cache-control: - no-cache @@ -473,11 +473,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:46 GMT + - Mon, 08 Aug 2022 07:56:47 GMT odata-version: - '4.0' request-id: - - bfdc7065-29f9-41dc-bcde-6c5b55397620 + - 7bbb08c7-90cb-40f5-aeda-2bea1d938352 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -485,7 +485,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000023FC"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF000093EA"}}' x-ms-resource-unit: - '1' status: @@ -505,9 +505,9 @@ interactions: ParameterSetName: - --id --set User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'0d380b48-63eb-4a1b-8023-a5af7aaf2f6d') + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%274aa34488-231e-4559-920b-85d71007197e%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[]}' @@ -519,11 +519,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:48 GMT + - Mon, 08 Aug 2022 07:56:47 GMT odata-version: - '4.0' request-id: - - f5359b46-2477-4a6c-a907-43761a79bc28 + - f6115ae4-1800-4696-8c47-2240c2a7c62d strict-transport-security: - max-age=31536000 transfer-encoding: @@ -531,14 +531,14 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BC8"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00006468"}}' x-ms-resource-unit: - '1' status: code: 200 message: OK - request: - body: null + body: '{"appRoleAssignmentRequired": true}' headers: Accept: - '*/*' @@ -548,28 +548,68 @@ interactions: - ad sp update Connection: - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json ParameterSetName: - --id --set User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 + method: PATCH + uri: https://graph.microsoft.com/v1.0/servicePrincipals/4aa34488-231e-4559-920b-85d71007197e + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Mon, 08 Aug 2022 07:56:48 GMT + request-id: + - 200e9fd9-60fd-4a0f-aa89-f61c23899926 + strict-transport-security: + - max-age=31536000 + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00005AD4"}}' + x-ms-resource-unit: + - '1' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad sp show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals/0d380b48-63eb-4a1b-8023-a5af7aaf2f6d + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%274aa34488-231e-4559-920b-85d71007197e%27%29 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"0d380b48-63eb-4a1b-8023-a5af7aaf2f6d","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-06-09T05:47:40Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4faba265-b3a0-4bfd-8f56-f8a1a0cee277"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[]}' headers: cache-control: - no-cache content-length: - - '1351' + - '92' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:50 GMT + - Mon, 08 Aug 2022 07:56:48 GMT odata-version: - '4.0' request-id: - - 1791f890-8da8-43ba-b303-85072cd3dd7f + - 5c41cf92-1558-4107-82e0-f332b6ca3d0b strict-transport-security: - max-age=31536000 transfer-encoding: @@ -577,7 +617,53 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BC8"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF000093E9"}}' + x-ms-resource-unit: + - '1' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad sp show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 + method: GET + uri: https://graph.microsoft.com/v1.0/servicePrincipals/4aa34488-231e-4559-920b-85d71007197e + response: + body: + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"4aa34488-231e-4559-920b-85d71007197e","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":true,"createdDateTime":"2022-08-08T07:56:44Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' + headers: + cache-control: + - no-cache + content-length: + - '1350' + content-type: + - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 + date: + - Mon, 08 Aug 2022 07:56:49 GMT + odata-version: + - '4.0' + request-id: + - d297ca59-d545-4195-a7e8-8398f23a5001 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00005D6A"}}' x-ms-resource-unit: - '1' status: @@ -595,11 +681,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - --id --set + - --id --parameters User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'0d380b48-63eb-4a1b-8023-a5af7aaf2f6d') + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%274aa34488-231e-4559-920b-85d71007197e%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[]}' @@ -611,11 +697,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:52 GMT + - Mon, 08 Aug 2022 07:56:50 GMT odata-version: - '4.0' request-id: - - 59d19b4f-ef30-4277-be63-cce720cb400d + - 676cd0b2-fd19-4835-9edf-a1d5a08067c2 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -623,14 +709,14 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001E1E"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00005AD4"}}' x-ms-resource-unit: - '1' status: code: 200 message: OK - request: - body: '{"appRoleAssignmentRequired": true}' + body: '{"appRoleAssignmentRequired": false}' headers: Accept: - '*/*' @@ -641,15 +727,15 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '36' Content-Type: - application/json ParameterSetName: - - --id --set + - --id --parameters User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: PATCH - uri: https://graph.microsoft.com/v1.0/servicePrincipals/0d380b48-63eb-4a1b-8023-a5af7aaf2f6d + uri: https://graph.microsoft.com/v1.0/servicePrincipals/4aa34488-231e-4559-920b-85d71007197e response: body: string: '' @@ -657,13 +743,13 @@ interactions: cache-control: - no-cache date: - - Thu, 09 Jun 2022 05:47:54 GMT + - Mon, 08 Aug 2022 07:56:50 GMT request-id: - - 44fc6b40-ade9-4cb4-b4e6-5d9bbc232426 + - e2cf6e50-4a52-40e0-8283-e0827c9410ed strict-transport-security: - max-age=31536000 x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000023FA"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00008132"}}' x-ms-resource-unit: - '1' status: @@ -683,9 +769,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'0d380b48-63eb-4a1b-8023-a5af7aaf2f6d') + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%274aa34488-231e-4559-920b-85d71007197e%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[]}' @@ -697,11 +783,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:55 GMT + - Mon, 08 Aug 2022 07:56:51 GMT odata-version: - '4.0' request-id: - - 80f6bbf8-21c5-4e93-a83c-6dd4cef594c0 + - 5eebbbcf-0bd2-4b21-a343-b0d0878297c1 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -709,7 +795,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001643"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A2F"}}' x-ms-resource-unit: - '1' status: @@ -729,25 +815,25 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals/0d380b48-63eb-4a1b-8023-a5af7aaf2f6d + uri: https://graph.microsoft.com/v1.0/servicePrincipals/4aa34488-231e-4559-920b-85d71007197e response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"0d380b48-63eb-4a1b-8023-a5af7aaf2f6d","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":true,"createdDateTime":"2022-06-09T05:47:40Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4faba265-b3a0-4bfd-8f56-f8a1a0cee277"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals/$entity","id":"4aa34488-231e-4559-920b-85d71007197e","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-08-08T07:56:44Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}' headers: cache-control: - no-cache content-length: - - '1350' + - '1351' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:56 GMT + - Mon, 08 Aug 2022 07:56:51 GMT odata-version: - '4.0' request-id: - - fb0db43b-d314-438e-91e9-8a7b18ba68fb + - e51dc2a9-4980-4464-89dc-5c0397384de2 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -755,7 +841,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BCE"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF0000657B"}}' x-ms-resource-unit: - '1' status: @@ -775,25 +861,25 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'4faba265-b3a0-4bfd-8f56-f8a1a0cee277') + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%274eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da%27%29 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[{"id":"0d380b48-63eb-4a1b-8023-a5af7aaf2f6d","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":true,"createdDateTime":"2022-06-09T05:47:40Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4faba265-b3a0-4bfd-8f56-f8a1a0cee277"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[{"id":"4aa34488-231e-4559-920b-85d71007197e","deletedDateTime":null,"accountEnabled":true,"alternativeNames":[],"appDisplayName":"azure-cli-test000001","appDescription":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"appOwnerOrganizationId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","appRoleAssignmentRequired":false,"createdDateTime":"2022-08-08T07:56:44Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"azure-cli-test000001","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["api://azure-cli-test000001","4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da"],"servicePrincipalType":"Application","signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlSingleSignOnSettings":null,"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"addIns":[],"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[]}]}' headers: cache-control: - no-cache content-length: - - '1354' + - '1355' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:56 GMT + - Mon, 08 Aug 2022 07:56:53 GMT odata-version: - '4.0' request-id: - - e2fcd3f3-b0af-4e94-ab8e-d8cf53c0a1c8 + - 4237a205-ea7d-47a7-a3b0-1fa3d0f4991f strict-transport-security: - max-age=31536000 transfer-encoding: @@ -801,7 +887,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BC8"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A30"}}' x-ms-resource-unit: - '1' status: @@ -823,9 +909,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: DELETE - uri: https://graph.microsoft.com/v1.0/servicePrincipals/0d380b48-63eb-4a1b-8023-a5af7aaf2f6d + uri: https://graph.microsoft.com/v1.0/servicePrincipals/4aa34488-231e-4559-920b-85d71007197e response: body: string: '' @@ -833,13 +919,13 @@ interactions: cache-control: - no-cache date: - - Thu, 09 Jun 2022 05:47:59 GMT + - Mon, 08 Aug 2022 07:56:54 GMT request-id: - - e4da0c32-0736-46ae-940a-c941c4cd66d6 + - 7f22eebd-318e-40a2-86e8-f90ac13bc90a strict-transport-security: - max-age=31536000 x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000022D3"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF000093AD"}}' x-ms-resource-unit: - '1' status: @@ -859,25 +945,25 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'4faba265-b3a0-4bfd-8f56-f8a1a0cee277' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%274eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da%27 response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"497434e7-c384-45d3-ac72-f7de210d6ca3","deletedDateTime":null,"appId":"4faba265-b3a0-4bfd-8f56-f8a1a0cee277","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-06-09T05:47:37Z","displayName":"azure-cli-test000001","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000001"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":null,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[{"id":"ffc622a8-6eb1-47bf-90ff-e9fc6b4b8cd1","deletedDateTime":null,"appId":"4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da","applicationTemplateId":null,"disabledByMicrosoftStatus":null,"createdDateTime":"2022-08-08T07:56:40Z","displayName":"azure-cli-test000001","description":null,"groupMembershipClaims":null,"identifierUris":["api://azure-cli-test000001"],"isDeviceOnlyAuthSupported":null,"isFallbackPublicClient":null,"notes":null,"publisherDomain":"AzureSDKTeam.onmicrosoft.com","serviceManagementReference":null,"signInAudience":"AzureADandPersonalMicrosoftAccount","tags":[],"tokenEncryptionKeyId":null,"samlMetadataUrl":null,"defaultRedirectUri":null,"certification":null,"optionalClaims":null,"addIns":[],"api":{"acceptMappedClaims":null,"knownClientApplications":[],"requestedAccessTokenVersion":2,"oauth2PermissionScopes":[],"preAuthorizedApplications":[]},"appRoles":[],"info":{"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null},"keyCredentials":[],"parentalControlSettings":{"countriesBlockedForMinors":[],"legalAgeGroupRule":"Allow"},"passwordCredentials":[],"publicClient":{"redirectUris":[]},"requiredResourceAccess":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null},"web":{"homePageUrl":null,"logoutUrl":null,"redirectUris":[],"implicitGrantSettings":{"enableAccessTokenIssuance":false,"enableIdTokenIssuance":false}},"spa":{"redirectUris":[]}}]}' headers: cache-control: - no-cache content-length: - - '1514' + - '1537' content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:47:59 GMT + - Mon, 08 Aug 2022 07:56:55 GMT odata-version: - '4.0' request-id: - - 42d7b0c5-a07e-40aa-b2ab-883a5ac73aae + - 2f3a7bf1-7b94-41b9-8ce0-1b78b27ebe16 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -885,7 +971,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00001E1F"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A2F"}}' x-ms-resource-unit: - '2' status: @@ -907,9 +993,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: DELETE - uri: https://graph.microsoft.com/v1.0/applications/497434e7-c384-45d3-ac72-f7de210d6ca3 + uri: https://graph.microsoft.com/v1.0/applications/ffc622a8-6eb1-47bf-90ff-e9fc6b4b8cd1 response: body: string: '' @@ -917,13 +1003,13 @@ interactions: cache-control: - no-cache date: - - Thu, 09 Jun 2022 05:48:01 GMT + - Mon, 08 Aug 2022 07:56:59 GMT request-id: - - 8ed69f9c-7527-4cd5-8911-4bf1e70c93b0 + - 6ceabc08-9848-4b64-8189-7261c5625bcb strict-transport-security: - max-age=31536000 x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000163A"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00007865"}}' x-ms-resource-unit: - '1' status: @@ -943,9 +1029,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames/any(c:c%20eq%20'4faba265-b3a0-4bfd-8f56-f8a1a0cee277') + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%274eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[]}' @@ -957,11 +1043,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:48:02 GMT + - Mon, 08 Aug 2022 07:56:59 GMT odata-version: - '4.0' request-id: - - 7217af9e-66b1-48c2-9725-d5908f6f29fe + - 98cd8b64-f3be-4f47-bc4d-460a8635dca5 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -969,7 +1055,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF000018C8"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A46"}}' x-ms-resource-unit: - '1' status: @@ -989,13 +1075,13 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals/4faba265-b3a0-4bfd-8f56-f8a1a0cee277 + uri: https://graph.microsoft.com/v1.0/servicePrincipals/4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da response: body: - string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''4faba265-b3a0-4bfd-8f56-f8a1a0cee277'' - does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-06-09T05:48:04","request-id":"f5a70358-7c02-41d9-8464-bcb1c559076a","client-request-id":"f5a70358-7c02-41d9-8464-bcb1c559076a"}}}' + string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da'' + does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-08-08T07:57:01","request-id":"0c8dca85-74ba-47b1-846a-1f74d1664292","client-request-id":"0c8dca85-74ba-47b1-846a-1f74d1664292"}}}' headers: cache-control: - no-cache @@ -1004,9 +1090,9 @@ interactions: content-type: - application/json date: - - Thu, 09 Jun 2022 05:48:04 GMT + - Mon, 08 Aug 2022 07:57:00 GMT request-id: - - f5a70358-7c02-41d9-8464-bcb1c559076a + - 0c8dca85-74ba-47b1-846a-1f74d1664292 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1014,7 +1100,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00002336"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF000093E9"}}' x-ms-resource-unit: - '1' status: @@ -1034,9 +1120,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'4faba265-b3a0-4bfd-8f56-f8a1a0cee277' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%274eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da%27 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[]}' @@ -1048,11 +1134,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:48:04 GMT + - Mon, 08 Aug 2022 07:57:00 GMT odata-version: - '4.0' request-id: - - 28c1a952-dea0-4174-8a06-c11973d1f754 + - b87e76b0-037c-4d14-92ba-37f4bda26fe2 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1060,7 +1146,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00002335"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00005D69"}}' x-ms-resource-unit: - '2' status: @@ -1080,13 +1166,13 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/4faba265-b3a0-4bfd-8f56-f8a1a0cee277 + uri: https://graph.microsoft.com/v1.0/applications/4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da response: body: - string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''4faba265-b3a0-4bfd-8f56-f8a1a0cee277'' - does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-06-09T05:48:06","request-id":"45062156-266b-46ab-ad31-4f8dc96471db","client-request-id":"45062156-266b-46ab-ad31-4f8dc96471db"}}}' + string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da'' + does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-08-08T07:57:02","request-id":"c015dce8-b89e-43bf-ae32-e4f78f669a4b","client-request-id":"c015dce8-b89e-43bf-ae32-e4f78f669a4b"}}}' headers: cache-control: - no-cache @@ -1095,9 +1181,9 @@ interactions: content-type: - application/json date: - - Thu, 09 Jun 2022 05:48:05 GMT + - Mon, 08 Aug 2022 07:57:02 GMT request-id: - - 45062156-266b-46ab-ad31-4f8dc96471db + - c015dce8-b89e-43bf-ae32-e4f78f669a4b strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1105,7 +1191,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BC8"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF0000812E"}}' x-ms-resource-unit: - '1' status: @@ -1125,9 +1211,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20'4faba265-b3a0-4bfd-8f56-f8a1a0cee277' + uri: https://graph.microsoft.com/v1.0/applications?$filter=appId%20eq%20%274eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da%27 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#applications","value":[]}' @@ -1139,11 +1225,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 09 Jun 2022 05:48:07 GMT + - Mon, 08 Aug 2022 07:57:02 GMT odata-version: - '4.0' request-id: - - 6d8bf0d6-5e93-4814-bf24-41b54c788cda + - 41b4eee5-8fb3-4ebb-bd43-e79c3bd17988 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1151,7 +1237,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BCE"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A4A"}}' x-ms-resource-unit: - '2' status: @@ -1171,13 +1257,13 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.10.4 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + - python/3.10.5 (Windows-10-10.0.19044-SP0) AZURECLI/2.39.0 method: GET - uri: https://graph.microsoft.com/v1.0/applications/4faba265-b3a0-4bfd-8f56-f8a1a0cee277 + uri: https://graph.microsoft.com/v1.0/applications/4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da response: body: - string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''4faba265-b3a0-4bfd-8f56-f8a1a0cee277'' - does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-06-09T05:48:08","request-id":"5864cfdf-3055-471b-8f47-81506a7db6f5","client-request-id":"5864cfdf-3055-471b-8f47-81506a7db6f5"}}}' + string: '{"error":{"code":"Request_ResourceNotFound","message":"Resource ''4eab39e1-a5cb-4c31-aa3a-8dfd1ae0d5da'' + does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-08-08T07:57:03","request-id":"ca77e63c-4d69-46eb-8965-1b1d1fa7713b","client-request-id":"ca77e63c-4d69-46eb-8965-1b1d1fa7713b"}}}' headers: cache-control: - no-cache @@ -1186,9 +1272,9 @@ interactions: content-type: - application/json date: - - Thu, 09 Jun 2022 05:48:07 GMT + - Mon, 08 Aug 2022 07:57:02 GMT request-id: - - 5864cfdf-3055-471b-8f47-81506a7db6f5 + - ca77e63c-4d69-46eb-8965-1b1d1fa7713b strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1196,7 +1282,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BC1"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00007868"}}' x-ms-resource-unit: - '1' status: diff --git a/src/azure-cli/azure/cli/command_modules/role/tests/latest/test_graph.py b/src/azure-cli/azure/cli/command_modules/role/tests/latest/test_graph.py index 96b59cb9a5c..5483152147f 100644 --- a/src/azure-cli/azure/cli/command_modules/role/tests/latest/test_graph.py +++ b/src/azure-cli/azure/cli/command_modules/role/tests/latest/test_graph.py @@ -322,10 +322,22 @@ def test_app_scenario(self): self.check('length(requiredResourceAccess)', 2) ]).get_output_in_json() - # Update with generic update + # Update with --set + # Value is a JSON self.cmd('ad app update --id {app_id} --set isDeviceOnlyAuthSupported=true') self.cmd('ad app show --id {app_id}', checks=self.check('isDeviceOnlyAuthSupported', True)) + # Value is raw string + self.cmd('ad app update --id {app_id} --set groupMembershipClaims=All') + self.cmd('ad app show --id {app_id}', checks=self.check('groupMembershipClaims', 'All')) + + # Update with --parameters + self.cmd('ad app update --id {app_id} --parameters \'{{"isDeviceOnlyAuthSupported": false}}\'') + self.cmd('ad app show --id {app_id}', checks=self.check('isDeviceOnlyAuthSupported', False)) + + self.cmd('ad app update --id {app_id} --parameters \'{{"groupMembershipClaims": "SecurityGroup"}}\'') + self.cmd('ad app show --id {app_id}', checks=self.check('groupMembershipClaims', 'SecurityGroup')) + self.cmd('ad app delete --id {app_id}') self.cmd('ad app show --id {app_id}', expect_failure=True) @@ -682,6 +694,9 @@ def test_service_principal_scenario(self): self.cmd('ad sp update --id {id} --set appRoleAssignmentRequired=true') self.cmd('ad sp show --id {id}', checks=self.check('appRoleAssignmentRequired', True)) + self.cmd('ad sp update --id {id} --parameters \'{{"appRoleAssignmentRequired": false}}\'') + self.cmd('ad sp show --id {id}', checks=self.check('appRoleAssignmentRequired', False)) + self.cmd('ad sp delete --id {app_id}') self.cmd('ad app delete --id {app_id}')