You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: The data type of the value the extension property can hold. Possible values are: `Binary`, `Boolean`, `DateTime`, `Integer`, `LargeInteger` and `String`.
32
32
33
-
`targetObjects <targetObjects>`
33
+
`--targetObjects <targetObjects>`
34
34
: Comma-separated list of Microsoft Graph resources that can use the extension. Possible values are: `User`, `Group`, `Application`, `AdministrativeUnit`, `Device` and `Organization`.
it('handles selecting single application when multiple applications with the specified name found using getAppObjectIdFromAppName and cli is set to prompt',async()=>{
62
+
it('handles selecting single application when multiple applications with the specified name found using getAppRegistrationByAppName and cli is set to prompt',async()=>{
awaitassert.rejects(entraApp.getAppObjectIdFromAppId(appId)),Error(`App with appId '${appId}' not found in Microsoft Entra ID`);
91
+
awaitassert.rejects(entraApp.getAppRegistrationByAppId(appId,['id','displayName'])),Error(`App with appId '${appId}' not found in Microsoft Entra ID`);
91
92
});
92
93
93
-
it('throws error message when no application was found using getAppObjectIdFromAppName',async()=>{
94
+
it('throws error message when no application was found using getAppRegistrationByAppName',async()=>{
awaitassert.rejects(entraApp.getAppObjectIdFromAppName(appName),Error(`Multiple apps with name '${appName}' found in Microsoft Entra ID. Found: ${appObjectId}, ${secondAppObjectId}.`));
134
+
awaitassert.rejects(entraApp.getAppRegistrationByAppName(appName,['id','displayName']),Error(`Multiple apps with name '${appName}' found in Microsoft Entra ID. Found: ${appObjectId}, ${secondAppObjectId}.`));
return(awaitcli.handleMultipleResultsFound<Application>(`Multiple apps with name '${appName}' found in Microsoft Entra ID.`,resultAsKeyValuePair)).id!;
445
+
returnawaitcli.handleMultipleResultsFound<Application>(`Multiple apps with name '${appName}' found in Microsoft Entra ID.`,resultAsKeyValuePair);
0 commit comments