Resource '<application ID' does not exist or one of its queried reference-property objects are not present.
So I run:
Get-MgApplication | FL DisplayName, AppID
And I get some application IDs
And when I run:
Get-MgApplication -ApplicationId "<any application ID listed from above>"
It all says:
Get-MgApplication : Resource 'xxxxxxxxxxxxxxxxxxxxxxxxxx' does not exist or one of its queried reference-property objects are not present.
Status: 404 (NotFound)
ErrorCode: Request_ResourceNotFound
Date: 2024-10-31T03:53:41
Headers:
Transfer-Encoding : chunked
Vary : Accept-Encoding
Strict-Transport-Security : max-age=31536000
request-id : xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
client-request-id : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
x-ms-ags-diagnostic : {"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF00004F1C"}}
x-ms-resource-unit : 1
Cache-Control : no-cache
Date : Thu, 31 Oct 2024 03:53:40 GMT
At line:1 char:1
- Get-MgApplication -ApplicationId "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-
+ CategoryInfo : InvalidOperation: ({ ApplicationId... , Headers = }:<>f__AnonymousType17`4) [Get-MgApplication_Get], Exception + FullyQualifiedErrorId : Request_ResourceNotFound,Microsoft.Graph.PowerShell.Cmdlets.GetMgApplication_Get
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Entra | Other
Additional Microsoft Entra services and features related to identity, access, and network security