Skip to content

Commit fecce17

Browse files
Merge pull request MicrosoftDocs#11750 from satish-timiri/patch-1
Create Get-M365TeamsApp.md
2 parents d52101f + 27ecbcf commit fecce17

File tree

1 file changed

+101
-0
lines changed

1 file changed

+101
-0
lines changed
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
---
2+
external help file: Microsoft.Teams.PowerShell.TeamsCmdlets.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
online version: https://docs.microsoft.com/powershell/module/teams/Get-M365TeamsApp
5+
applicable: Microsoft Teams
6+
title: Get-M365TeamsApp
7+
author: satishtimiri
8+
ms.author: satishtimiri
9+
manager: rahulrgupta
10+
schema: 2.0.0
11+
---
12+
13+
# Get-M365TeamsApp
14+
15+
## SYNOPSIS
16+
17+
This cmdlet returns app availability and state for the Microsoft Teams app.
18+
19+
## SYNTAX
20+
21+
```powershell
22+
Get-M365TeamsApp -Id <String> [<CommonParameters>]
23+
```
24+
25+
## DESCRIPTION
26+
27+
Get-M365TeamsApps retrieves information about the Teams app. This includes app state, app availability, user who updated app availability, and the associated timestamp.
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
33+
```powershell
34+
PS C:\> Get-M365TeamsApp -Id b782e2e8-9682-4898-b211-a304714f4f6b
35+
```
36+
37+
Provides information about b782e2e8-9682-4898-b211-a304714f4f6b app, which includes app state, app availability, user who updated app availability, and the associated timestamp.
38+
39+
## PARAMETERS
40+
41+
### -Id
42+
43+
Application ID of the Teams app.
44+
45+
```yaml
46+
Type: String
47+
Parameter Sets: (All)
48+
Aliases:
49+
50+
Required: True
51+
Position: Named
52+
Default value: None
53+
Accept pipeline input: False
54+
Accept wildcard characters: False
55+
```
56+
57+
### CommonParameters
58+
59+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
60+
61+
## INPUTS
62+
63+
### None
64+
65+
## OUTPUTS
66+
67+
### System.Object
68+
69+
**ID**
70+
Application ID of the Teams app.
71+
72+
**IsBlocked**
73+
The state of the app in the tenant.
74+
Values:
75+
- Blocked
76+
- Unblocked
77+
78+
**AvailableTo**
79+
Provides available to properties for the app.
80+
Properties:
81+
- AssignmentType: App availability type.
82+
Values:
83+
- Everyone
84+
- UsersandGroups
85+
- Noone
86+
- Users: List of all the users for whom the app is enabled.
87+
Values:
88+
- Id: GUID of UserIDs.
89+
- AssignedBy: UserID of last user who updated the app AvailableTo value.
90+
- LastUpdatedTimeStamp: Time and date when the app AvailableTo value was last updated.
91+
- Groups: List of all the groups for whom the app is enabled.
92+
Values:
93+
- Id: GUID of GroupIDs.
94+
- AssignedBy: UserID of last user who updated the app AvailableTo value.
95+
- LastUpdatedTimeStamp: Time and date when the app AvailableTo value was last updated.
96+
97+
## RELATED LINKS
98+
99+
[Update-M365TeamsApps](/powershell/module/teams/update-m365teamsapps)
100+
101+
[Get-ALLM365TeamsApps](/powershell/module/teams/Get-ALLM365TeamsApps)

0 commit comments

Comments
 (0)