Get-AzureADMSApplication
조직 내의 응용 프로그램 목록을 검색합니다.
구문
GetQuery (기본값)
Get-AzureADMSApplication
[-All <Boolean>]
[-Top <Int32>]
[-Filter <String>]
[<CommonParameters>]
GetVague
Get-AzureADMSApplication
[-SearchString <String>]
[-All <Boolean>]
[<CommonParameters>]
GetById
Get-AzureADMSApplication
-ObjectId <String>
[-All <Boolean>]
[<CommonParameters>]
Description
조직 내의 응용 프로그램 목록을 검색합니다. ObjectId 인수를 사용하면 ObjectId와 연결된 응용 프로그램 개체의 속성을 검색할 수 있습니다.
예제
예제 1: 표시 이름으로 애플리케이션 가져오기
PS C:\>Get-AzureADMSApplication -Filter "DisplayName eq 'My App'"
Id : ba4a97a7-3815-4752-bf4c-f1c0cccfff6a
OdataType :
Api : class ApiApplication {
AcceptMappedClaims:
KnownClientApplications:
PreAuthorizedApplications:
RequestedAccessTokenVersion: 2
Oauth2PermissionScopes:
System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.PermissionScope]
}
AppId : 00001111-aaaa-2222-bbbb-3333cccc4444
AppRoles : {}
IsDeviceOnlyAuthSupported :
IsFallbackPublicClient :
IdentifierUris : {}
DeletedDateTime :
DisplayName : My App
Info : class InformationalUrl {
TermsOfServiceUrl:
MarketingUrl:
PrivacyStatementUrl:
SupportUrl:
LogoUrl:
}
KeyCredentials : {}
OptionalClaims :
ParentalControlSettings : class ParentalControlSettings {
CountriesBlockedForMinors: System.Collections.Generic.List`1[System.String]
LegalAgeGroupRule: Allow
}
PasswordCredentials : {}
PublicClientApplication :
RequiredResourceAccess : {}
SignInAudience : AzureADandPersonalMicrosoftAccount
Tags : {}
TokenEncryptionKeyId :
Web : class WebApplication {
LogoutUrl:
Oauth2AllowImplicitFlow:
RedirectUris: System.Collections.Generic.List`1[System.String]
ImplicitGrantSettings: class ImplicitGrantSettings {
EnableIdTokenIssuance: False
EnableAccessTokenIssuance: False
}
}
이 명령은 표시 이름으로 애플리케이션을 가져옵니다.
예제 2: ID로 애플리케이션 가져오기
PS C:\>Get-AzureADMSApplication -Filter "AppId eq '11112222-bbbb-3333-cccc-4444dddd5555'"
이 명령은 ID로 애플리케이션을 가져옵니다.
출력:
ID : ba4a97a7-3815-4752-bf4c-f1c0cccfff6a OdataType : Api : class ApiApplication { AcceptMappedClaims : KnownClientApplications : PreAuthorizedApplications : RequestedAccessTokenVersion : 2 Oauth2PermissionScopes : System.Collections.Generic.List'1 [Microsoft.Open.MSGraph.Model.PermissionScope] }
AppId : 00001111-aaaa-2222-bbbb-3333cccc4444
AppRoles : {}
IsDeviceOnlyAuthSupported :
IsFallbackPublicClient :
IdentifierUris : {}
DeletedDateTime :
DisplayName : My App
Info : class InformationalUrl {
TermsOfServiceUrl:
MarketingUrl:
PrivacyStatementUrl:
SupportUrl:
LogoUrl:
}
KeyCredentials : {}
OptionalClaims :
ParentalControlSettings : class ParentalControlSettings {
CountriesBlockedForMinors: System.Collections.Generic.List\`1\[System.String\]
LegalAgeGroupRule: Allow
}
PasswordCredentials : {}
PublicClientApplication :
RequiredResourceAccess : {}
SignInAudience : AzureADandPersonalMicrosoftAccount
Tags : {}
TokenEncryptionKeyId :
Web : class WebApplication {
LogoutUrl:
Oauth2AllowImplicitFlow:
RedirectUris: System.Collections.Generic.List\`1\[System.String\]
ImplicitGrantSettings: class ImplicitGrantSettings {
EnableIdTokenIssuance: False
EnableAccessTokenIssuance: False
}
}
예제 3: identifierUris로 애플리케이션 검색
Get-AzureADMSApplication -Filter "identifierUris/any(uri:uri eq 'http://wingtips.wingtiptoysonline.com')"
예제 4: 개체 ID로 응용 프로그램 가져오기
PS C:\>Get-AzureADMSApplication -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
이 명령은 개체 ID로 응용 프로그램을 가져옵니다.
출력:
ID : f8bbcbe4-df80-4a6b-80c5-926e28e41407 OdataType : AddIns : {} Api : class ApiApplication { AcceptMappedClaims : KnownClientApplications : PreAuthorizedApplications : RequestedAccessTokenVersion : Oauth2PermissionScopes : System.Collections.Generic.List'1 [Microsoft.Open.MSGraph.Model.PermissionScope]
AppId : 22223333-cccc-4444-dddd-5555eeee6666
ApplicationTemplateId :
AppRoles : {}
GroupMembershipClaims :
IsDeviceOnlyAuthSupported :
IsFallbackPublicClient :
IdentifierUris : {}
CreatedDateTime :
DeletedDateTime :
DisplayName : my app
Info : class InformationalUrl {
TermsOfServiceUrl:
MarketingUrl:
PrivacyStatementUrl:
SupportUrl:
LogoUrl:
}
KeyCredentials : {}
OptionalClaims :
ParentalControlSettings : class ParentalControlSettings {
CountriesBlockedForMinors: System.Collections.Generic.List\`1\[System.String\]
LegalAgeGroupRule: Allow
}
PasswordCredentials : {}
PublicClient : class PublicClientApplication {
RedirectUris: System.Collections.Generic.List\`1\[System.String\]
}
PublisherDomain :
RequiredResourceAccess : {}
SignInAudience : AzureADMyOrg
Tags : {}
TokenEncryptionKeyId :
Web : class WebApplication {
HomePageUrl:
LogoutUrl:
RedirectUris: System.Collections.Generic.List\`1\[System.String\]
ImplicitGrantSettings: class ImplicitGrantSettings {
EnableIdTokenIssuance: True
EnableAccessTokenIssuance: False
}
}
예제 5: 처음 2개의 애플리케이션 가져오기
PS C:\>Get-AzureADMSApplication -Top 2
이 명령은 처음 2개의 애플리케이션을 가져옵니다.
출력:
ID : 121ce3aa-64cb-44f2-99e8-deb705caeddd OdataType : AddIns : {} Api : class ApiApplication { AcceptMappedClaims : KnownClientApplications : PreAuthorizedApplications : RequestedAccessTokenVersion : 2 Oauth2PermissionScopes : System.Collections.Generic.List'1 [Microsoft.Open.MSGraph.Model.PermissionScope]
AppId : 33334444-dddd-5555-eeee-6666ffff7777
ApplicationTemplateId :
AppRoles : {}
GroupMembershipClaims :
IsDeviceOnlyAuthSupported :
IsFallbackPublicClient :
IdentifierUris : {}
CreatedDateTime :
DeletedDateTime :
DisplayName : My App
Info : class InformationalUrl {
TermsOfServiceUrl:
MarketingUrl:
PrivacyStatementUrl:
SupportUrl:
LogoUrl:
}
KeyCredentials : {}
OptionalClaims :
ParentalControlSettings : class ParentalControlSettings {
CountriesBlockedForMinors: System.Collections.Generic.List\`1\[System.String\]
LegalAgeGroupRule: Allow
}
PasswordCredentials : {}
PublicClient : class PublicClientApplication {
RedirectUris: System.Collections.Generic.List\`1\[System.String\]
}
PublisherDomain :
RequiredResourceAccess : {}
SignInAudience : AzureADandPersonalMicrosoftAccount
Tags : {}
TokenEncryptionKeyId :
Web : class WebApplication {
HomePageUrl:
LogoutUrl:
RedirectUris: System.Collections.Generic.List\`1\[System.String\]
ImplicitGrantSettings: class ImplicitGrantSettings {
EnableIdTokenIssuance: False
EnableAccessTokenIssuance: False
}
}
Id : 14a3f1ac-46a7-4d00-b1ca-0b2b84f033c2
OdataType :
AddIns : {}
Api : class ApiApplication {
AcceptMappedClaims:
KnownClientApplications:
PreAuthorizedApplications:
RequestedAccessTokenVersion: 2
Oauth2PermissionScopes:
System.Collections.Generic.List\`1\[Microsoft.Open.MSGraph.Model.PermissionScope\]
AppId : 44445555-eeee-6666-ffff-7777aaaa8888
ApplicationTemplateId :
AppRoles : {}
GroupMembershipClaims :
IsDeviceOnlyAuthSupported :
IsFallbackPublicClient :
IdentifierUris : {}
CreatedDateTime :
DeletedDateTime :
DisplayName : My App
Info : class InformationalUrl {
TermsOfServiceUrl:
MarketingUrl:
PrivacyStatementUrl:
SupportUrl:
LogoUrl:
}
KeyCredentials : {}
OptionalClaims :
ParentalControlSettings : class ParentalControlSettings {
CountriesBlockedForMinors: System.Collections.Generic.List\`1\[System.String\]
LegalAgeGroupRule: Allow
}
PasswordCredentials : {}
PublicClient : class PublicClientApplication {
RedirectUris: System.Collections.Generic.List\`1\[System.String\]
}
PublisherDomain :
RequiredResourceAccess : {}
SignInAudience : AzureADandPersonalMicrosoftAccount
Tags : {}
TokenEncryptionKeyId :
Web : class WebApplication {
HomePageUrl:
LogoutUrl:
RedirectUris: System.Collections.Generic.List\`1\[System.String\]
ImplicitGrantSettings: class ImplicitGrantSettings {
EnableIdTokenIssuance: False
EnableAccessTokenIssuance: False
}
}
예제 6: 모든 애플리케이션 목록 검색
PS C:\>Get-AzureADMSApplication -All $true
예제 5: "asdfl"이 포함된 표시 이름을 가진 모든 애플리케이션 목록 검색
PS C:\>Get-AzureADMSApplication -SearchString asdfl
이 명령은 지정된 표시 이름을 가진 응용 프로그램 목록을 가져옵니다
출력:
ID : 88da75d4-2cba-4c47-9a15-80a983228ad4 OdataType : AddIns : {} Api : class ApiApplication { AcceptMappedClaims : KnownClientApplications : PreAuthorizedApplications : RequestedAccessTokenVersion : 2 Oauth2PermissionScopes : System.Collections.Generic.List'1 [Microsoft.Open.MSGraph.Model.PermissionScope]
AppId : 55556666-ffff-7777-aaaa-8888bbbb9999
ApplicationTemplateId :
AppRoles : {}
GroupMembershipClaims :
IsDeviceOnlyAuthSupported :
IsFallbackPublicClient :
IdentifierUris : {}
CreatedDateTime : 10/24/2019 6:27:25 AM
DeletedDateTime :
DisplayName : asdflkj
Info : class InformationalUrl {
TermsOfServiceUrl:
MarketingUrl:
PrivacyStatementUrl:
SupportUrl:
LogoUrl:
}
KeyCredentials : {}
OptionalClaims :
ParentalControlSettings : class ParentalControlSettings {
CountriesBlockedForMinors: System.Collections.Generic.List\`1\[System.String\]
LegalAgeGroupRule: Allow
}
PasswordCredentials : {}
PublicClient : class PublicClientApplication {
RedirectUris: System.Collections.Generic.List\`1\[System.String\]
}
PublisherDomain :
RequiredResourceAccess : {}
SignInAudience : AzureADandPersonalMicrosoftAccount
Tags : {}
TokenEncryptionKeyId :
Web : class WebApplication {
HomePageUrl:
LogoutUrl:
RedirectUris: System.Collections.Generic.List\`1\[System.String\]
ImplicitGrantSettings: class ImplicitGrantSettings {
EnableIdTokenIssuance: False
EnableAccessTokenIssuance: False
}
}
매개 변수
-All
true인 경우 모든 응용 프로그램을 반환합니다. false인 경우 Top 매개 변수로 지정된 개체 수를 반환합니다
매개 변수 속성
| 형식: | Boolean |
| Default value: | None |
| 와일드카드 지원: | False |
| DontShow: | False |
매개 변수 집합
(All)
| Position: | Named |
| 필수: | False |
| 파이프라인의 값: | True |
| 속성 이름별 파이프라인의 값: | True |
| 나머지 인수의 값: | False |
-Filter
oData v3.0 필터 문을 지정합니다. 이 매개변수는 반환되는 개체를 제어합니다.
매개 변수 속성
| 형식: | String |
| Default value: | None |
| 와일드카드 지원: | False |
| DontShow: | False |
매개 변수 집합
GetQuery
| Position: | Named |
| 필수: | False |
| 파이프라인의 값: | True |
| 속성 이름별 파이프라인의 값: | True |
| 나머지 인수의 값: | False |
-ObjectId
Microsoft Entra ID에서 애플리케이션의 ID를 지정합니다.
매개 변수 속성
| 형식: | String |
| Default value: | None |
| 와일드카드 지원: | False |
| DontShow: | False |
매개 변수 집합
GetById
| Position: | Named |
| 필수: | True |
| 파이프라인의 값: | True |
| 속성 이름별 파이프라인의 값: | True |
| 나머지 인수의 값: | False |
-SearchString
-SearchString 값을 충족하는 응용 프로그램만 검색합니다.
매개 변수 속성
| 형식: | String |
| Default value: | None |
| 와일드카드 지원: | False |
| DontShow: | False |
매개 변수 집합
GetVague
| Position: | Named |
| 필수: | False |
| 파이프라인의 값: | True |
| 속성 이름별 파이프라인의 값: | True |
| 나머지 인수의 값: | False |
-Top
반환할 최대 레코드 수를 지정합니다.
매개 변수 속성
| 형식: | Int32 |
| Default value: | None |
| 와일드카드 지원: | False |
| DontShow: | False |
매개 변수 집합
GetQuery
| Position: | Named |
| 필수: | False |
| 파이프라인의 값: | True |
| 속성 이름별 파이프라인의 값: | True |
| 나머지 인수의 값: | False |
CommonParameters
이 cmdlet은 일반적인 매개 변수인 -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction 및 -WarningVariable 매개 변수를 지원합니다. 자세한 내용은 about_CommonParameters를 참조하세요.
입력
bool
int
string
출력
Microsoft.Open.MSGraph.Model.MsApplication
참고
Microsoft Graph PowerShell에 대한 Get-AzureADMSApplication에 대한 마이그레이션 가이드 를 참조하세요.