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
Add-UnifiedGroupLinks -Identity Marketing -LinkType members -Links ($users.UserPrincipalName)
52
+
```
53
+
54
+
This example shows how to add bulk members to a Microsoft 365 Group. Mailboxes where the Department attribute is "Marketing" are added to Microsoft 365 Group named Marketing.
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Export-RecipientDataProperty.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.reviewer:
14
14
## SYNOPSIS
15
15
This cmdlet is available only in on-premises Exchange.
16
16
17
-
Use the Export-RecipientDataProperty cmdlet to download a user's picture or spoken name sound file. The picture and audio files display in the Global Address List property dialog box, contact card, reading pane, and meeting requests in Outlook.
17
+
Use the Export-RecipientDataProperty cmdlet to download the picture or spoken name audio file of a mailbox or mail contact. The user's picture and spoken name are available in the global address (recipient properties), contact card, reading pane, and meeting requests in Outlook.
18
18
19
19
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Import-RecipientDataProperty.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.reviewer:
12
12
# Import-RecipientDataProperty
13
13
14
14
## SYNOPSIS
15
-
Use the Import-RecipientDataProperty cmdlet to add a picture or an audio file of a spoken name to a mailbox or contact. The picture and audio files display on the global address list property dialog box, contact card, reading pane, and meeting requests in Outlook.
15
+
Use the Import-RecipientDataProperty cmdlet to add a picture or a spoken name audio file to a mailbox or mail contact. The user's picture and spoken name are available in the global address (recipient properties), contact card, reading pane, and meeting requests in Outlook.
16
16
17
17
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
The FileData parameter specifies the location and file name of the picture or audio file.
86
+
The FileData parameter specifies the picture or spoken name file that you want to import.
87
87
88
88
A valid value for this parameter requires you to read the file to a byte-encoded object using the following syntax: `([System.IO.File]::ReadAllBytes('<Path>\<FileName>'))`. You can use this command as the parameter value, or you can write the output to a variable (`$data = [System.IO.File]::ReadAllBytes('<Path>\<FileName>')`) and use the variable as the parameter value (`$data`).
89
89
90
+
To import a picture, use the Picture switch. A valid picture file is JPEG and less than 10 kilobytes (KB).
91
+
92
+
To import a spoken name, use the SpokenName switch. A valid spoken name file is WMA 9 and less than 32 KB.
The Picture switch specifies that the file you're importing is a picture file. You don't need to specify a value with this switch.
145
+
The Picture switch specifies that you're importing the user's picture file. You don't need to specify a value with this switch.
142
146
143
-
The picture must be a JPEG file and shouldn't be larger than 10 kilobytes (KB). You can't use this switch with the SpokenName switch. You can only import one file type at a time.
147
+
You can't use this switch with the SpokenName switch.
The AccessScope parameter specifies a condition for the DLP rule that's based on the access scope of the content. The rule is applied to content that matches the specified access scope. Valid values are:
200
200
201
-
- InOrganization: The rule is applied to content that's accessible inside the organization.
202
-
- NotInOrganization: The rule is applied to content that's accessible outside the organization.
201
+
- InOrganization: The rule is applied to content that's accessible or delivered to a recipient inside the organization.
202
+
- NotInOrganization: The rule is applied to content that's accessible or delivered to a recipient outside the organization.
The ExceptIfAccessScopeAccessScope parameter specifies an exception for the DLP rule that's based on the access scope of the content. The rule isn't applied to content that matches the specified access scope. Valid values are:
702
702
703
-
- InOrganization: The rule isn't applied to content that's accessible inside the organization.
704
-
- NotInOrganization: The rule isn't applied to content that's accessible outside the organization.
703
+
- InOrganization: The rule isn't applied to content that's accessible or delivered to a recipient inside the organization.
704
+
- NotInOrganization: The rule isn't applied to content that's accessible or delivered to a recipient outside the organization.
The AccessScope parameter specifies a condition for the DLP rule that's based on the access scope of the content. The rule is applied to content that matches the specified access scope. Valid values are:
184
184
185
-
- InOrganization: The rule is applied to content that's accessible inside the organization.
186
-
- NotInOrganization: The rule is applied to content that's accessible outside the organization.
185
+
- InOrganization: The rule is applied to content that's accessible or delivered to a recipient inside the organization.
186
+
- NotInOrganization: The rule is applied to content that's accessible or delivered to a recipient outside the organization.
The ExceptIfAccessScopeAccessScope parameter specifies an exception for the DLP rule that's based on the access scope of the content. The rule isn't applied to content that matches the specified access scope. Valid values are:
686
686
687
-
- InOrganization: The rule isn't applied to content that's accessible inside the organization.
688
-
- NotInOrganization: The rule isn't applied to content that's accessible outside the organization.
687
+
- InOrganization: The rule isn't applied to content that's accessible or delivered to a recipient inside the organization.
688
+
- NotInOrganization: The rule isn't applied to content that's accessible or delivered to a recipient outside the organization.
### Example 4: Connect to MicrosoftTeams using Accesstokens
84
-
This example demonstrates how to sign in using AccessTokens. Admin can reterive Access Tokens. It requires two tokens, MS Graph Access Token and Teams Resource token.
84
+
This example demonstrates how to sign in using AccessTokens. Admin can retrieve Access Tokens. It requires two tokens, MS Graph Access Token and Teams Resource token.
85
+
86
+
A delegated flow, such as Resource Owner Password Credentials (ROPC), must be used, with the following delegated app permissions required.
87
+
88
+
| API | Grant type | Permission |
89
+
|-|-|-|
90
+
| Microsoft Graph | Delegated | User.Read.All |
91
+
| Microsoft Graph | Delegated | Group.ReadWrite.All |
92
+
| Microsoft Graph | Delegated | AppCatalog.ReadWrite.All |
93
+
| Skype and Teams Tenant Admin API | Delegated | user_impersonation |
85
94
86
95
```powershell
87
-
$graphtoken = #Get MSGraph Token for following for resource "https://graph.microsoft.com" and scopes "AppCatalog.ReadWrite.All", "Group.ReadWrite.All", "User.Read.All";
88
-
$teamstoken = #Get Teams resource token for resource id "48ac35b8-9aa8-4d74-927d-1f4a14a0b239" and scope "user_impersonation";
0 commit comments