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
# Restore a deleted Microsoft 365 group in Azure Active Directory
18
18
19
-
When you delete a Microsoft 365 group in Azure Active Directory (Azure AD), part of Microsoft Entra, the deleted group is retained but not visible for 30 days from the deletion date. This behavior is so that the group and its contents can be restored if needed. This functionality is restricted exclusively to Microsoft 365 groups in Azure AD. It is not available for security groups and distribution groups. Please note that the 30-day group restoration period is not customizable.
19
+
When you delete a Microsoft 365 group in Azure Active Directory (Azure AD), part of Microsoft Entra, the deleted group is retained but not visible for 30 days from the deletion date. This behavior is so that the group and its contents can be restored if needed. This functionality is restricted exclusively to Microsoft 365 groups in Azure AD. It isn't available for security groups and distribution groups. Please note that the 30-day group restoration period isn't customizable.
20
20
21
21
> [!NOTE]
22
-
> Don't use `Remove-MsolGroup` because it purges the group permanently. Always use `Remove-AzureADMSGroup` to delete a Microsoft 365 group.
22
+
> Don't use `Remove-MsolGroup` because it purges the group permanently. Always use `Remove-MgBetaGroup` to delete a Microsoft 365 group.
23
23
24
24
The permissions required to restore a group can be any of the following:
25
25
26
26
Role | Permissions
27
27
--------- | ---------
28
-
Global administrator, Group administrator, Partner Tier2 support, and Intune administrator | Can restore any deleted Microsoft 365 group
29
-
User administrator and Partner Tier1 support | Can restore any deleted Microsoft 365 group except those groups assigned to the Global Administrator role
28
+
Global administrator, Group administrator, Partner Tier 2 support, and Intune administrator | Can restore any deleted Microsoft 365 group
29
+
User administrator and Partner Tier 1 support | Can restore any deleted Microsoft 365 group except those groups assigned to the Global Administrator role
30
30
User | Can restore any deleted Microsoft 365 group that they own
31
31
32
32
## View and manage the deleted Microsoft 365 groups that are available to restore
@@ -46,19 +46,21 @@ User | Can restore any deleted Microsoft 365 group that they own
46
46
47
47
## View the deleted Microsoft 365 groups that are available to restore using PowerShell
48
48
49
-
The following cmdlets can be used to view the deleted groups to verify that the one or ones you're interested in have not yet been permanently purged. These cmdlets are part of the [Azure AD PowerShell module](https://www.powershellgallery.com/packages/AzureAD/). More information about this module can be found in the [Azure Active Directory PowerShell Version 2](/powershell/azure/active-directory/install-adv2) article.
49
+
The following cmdlets can be used to view the deleted groups to verify that the one or ones you're interested in haven't yet been permanently purged. These cmdlets are part of the [Microsoft Graph PowerShell module](/powershell/microsoftgraph/installation?view=graph-powershell-1.0&preserve-view=true). More information about this module can be found in the [Microsoft Graph PowerShell overview](/powershell/microsoftgraph/overview?view=graph-powershell-1.0&preserve-view=true) article.
50
50
51
-
1. Run the following cmdlet to display all deleted Microsoft 365 groups in your Azure AD organization that are still available to restore.
51
+
1. Run the following cmdlet to display all deleted Microsoft 365 groups in your Azure AD organization that are still available to restore. Please install the [Graph](/powershell/microsoftgraph/installation?view=graph-powershell-1.0&preserve-view=true) beta version if it isn't already installed on the machine.
52
52
53
53
54
54
```powershell
55
-
Get-AzureADMSDeletedGroup
55
+
Install-Module Microsoft.Graph.Beta
56
+
Connect-MgGraph -Scopes "Group.ReadWrite.All"
57
+
Get-MgBetaDirectoryDeletedGroup
56
58
```
57
59
58
-
2. Alternately, if you know the objectID of a specific group (and you can get it from the cmdlet in step 1), run the following cmdlet to verify that the specific deleted group has not yet been permanently purged.
60
+
2. Alternately, if you know the objectID of a specific group (and you can get it from the cmdlet in step 1), run the following cmdlet to verify that the specific deleted group hasn't yet been permanently purged.
To verify that you’ve successfully restored a Microsoft 365 group, run the `Get-AzureADGroup –ObjectId <objectId>` cmdlet to display information about the group. After the restore request is completed:
86
+
To verify that you’ve successfully restored a Microsoft 365 group, run the `Get-MgBetaGroup –GroupId <objectId>` cmdlet to display information about the group. After the restore request is completed:
85
87
86
88
- The group appears in the Left navigation bar on Exchange
Copy file name to clipboardExpand all lines: articles/active-directory/enterprise-users/groups-troubleshooting.md
+22-9Lines changed: 22 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,19 +21,32 @@ This article contains troubleshooting information for groups in Azure Active Dir
21
21
## Troubleshooting group creation issues
22
22
23
23
**I disabled security group creation in the Azure portal but groups can still be created via PowerShell**
24
-
The **User can create security groups in Azure portals** setting in the Azure portal controls whether or not non-admin users can create security groups in the Access panel or the Azure portal. It does not control security group creation via PowerShell.
24
+
The **User can create security groups in Azure portals** setting in the Azure portal controls whether or not nonadmin users can create security groups in the Access panel or the Azure portal. It does not control security group creation via PowerShell.
25
25
26
-
To disable group creation for non-admin users in PowerShell:
27
-
1. Verify that non-admin users are allowed to create groups:
26
+
To disable group creation for nonadmin users in PowerShell:
27
+
1. Verify that nonadmin users are allowed to create groups:
**I received a max groups allowed error when trying to create a Dynamic Group in PowerShell**
@@ -46,7 +59,7 @@ To create any new Dynamic groups, you'll first need to delete some existing Dyna
46
59
**I configured a rule on a group but no memberships get updated in the group**
47
60
1. Verify the values for user or device attributes in the rule. Ensure there are users that satisfy the rule.
48
61
For devices, check the device properties to ensure any synced attributes contain the expected values.
49
-
2. Check the membership processing status to confirm if it is complete. You can check the [membership processing status](groups-create-rule.md#check-processing-status-for-a-rule) and the last updated date on the **Overview** page for the group.
62
+
2. Check the membership processing status to confirm if it's complete. You can check the [membership processing status](groups-create-rule.md#check-processing-status-for-a-rule) and the last updated date on the **Overview** page for the group.
50
63
51
64
If everything looks good, please allow some time for the group to populate. Depending on the size of your Azure AD organization, the group may take up to 24 hours for populating for the first time or after a rule change.
52
65
@@ -57,15 +70,15 @@ This is expected behavior. Existing members of the group are removed when a rule
57
70
Dedicated membership evaluation is done periodically in an asynchronous background process. How long the process takes is determined by the number of users in your directory and the size of the group created as a result of the rule. Typically, directories with small numbers of users will see the group membership changes in less than a few minutes. Directories with a large number of users can take 30 minutes or longer to populate.
58
71
59
72
**How can I force the group to be processed now?**
60
-
Currently, there is no way to automatically trigger the group to be processed on demand. However, you can manually trigger the reprocessing by updating the membership rule to add a whitespace at the end.
73
+
Currently, there's no way to automatically trigger the group to be processed on demand. However, you can manually trigger the reprocessing by updating the membership rule to add a whitespace at the end.
61
74
62
75
**I encountered a rule processing error**
63
76
The following table lists common dynamic membership rule errors and how to correct them.
| Error: Attribute not supported. |(user.invalidProperty -eq "Value") |(user.department -eq "value")<br/><br/>Make sure the attribute is on the [supported properties list](groups-dynamic-membership.md#supported-properties). |
68
-
| Error: Operator is not supported on attribute. |(user.accountEnabled -contains true) |(user.accountEnabled -eq true)<br/><br/>The operator used is not supported for the property type (in this example, -contains cannot be used on type boolean). Use the correct operators for the property type. |
81
+
| Error: Operator isn't supported on attribute. |(user.accountEnabled -contains true) |(user.accountEnabled -eq true)<br/><br/>The operator used isn't supported for the property type (in this example, -contains can't be used on type boolean). Use the correct operators for the property type. |
69
82
| Error: Query compilation error. | 1. (user.department -eq "Sales") (user.department -eq "Marketing")<br>2. (user.userPrincipalName -match "\*@domain.ext") | 1. Missing operator. Use -and or -or to join predicates<br>(user.department -eq "Sales") -or (user.department -eq "Marketing")<br>2. Error in regular expression used with -match<br>(user.userPrincipalName -match ".\*@domain.ext")<br>or alternatively: (user.userPrincipalName -match "@domain.ext$") |
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/codeless-overview.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,16 +46,14 @@ Links are provided to more information for each supported scenario.
46
46
47
47
## JavaScript (Web) SDK Loader Script injection by configuration
48
48
49
-
If you’re using the following supported SDKs, you can configure the JavaScript (Web) SDK Loader Script to inject from the server-side SDK onto each page.
49
+
When using supported SDKs, you can enable SDK injection in configuration to automatically inject JavaScript (Web) SDK Loader Script onto each page.
50
50
51
-
> [!NOTE]
52
-
> See the linked article for instructions on how to install the server-side SDK.
53
51
54
-
| SDK| More information
55
-
| :--- | :--- |
56
-
| ASP.NET Core|[Enable client-side telemetry for web applications](./asp-net-core.md?tabs=netcorenew%2Cnetcore6#enable-client-side-telemetry-for-web-applications)|
57
-
| Node.js|[Automatic web Instrumentation](./nodejs.md#automatic-web-instrumentationpreview)|
For other methods to instrument your application with the Application Insights JavaScript SDK, see [Get started with the JavaScript SDK](./javascript-sdk.md).
Copy file name to clipboardExpand all lines: articles/data-factory/connector-mongodb.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.service: data-factory
8
8
ms.subservice: data-movement
9
9
ms.topic: conceptual
10
10
ms.custom: synapse, ignite-2022
11
-
ms.date: 10/25/2022
11
+
ms.date: 07/24/2023
12
12
---
13
13
14
14
# Copy data from or to MongoDB using Azure Data Factory or Synapse Analytics
@@ -251,6 +251,20 @@ To achieve such schema-agnostic copy, skip the "structure" (also called *schema*
251
251
252
252
To copy data from MongoDB to tabular sink or reversed, refer to [schema mapping](copy-activity-schema-and-type-mapping.md#schema-mapping).
253
253
254
+
## Upgrade the MongoDB linked service
255
+
256
+
Here are steps that help you upgrade your linked service and related queries:
257
+
258
+
1. Create a new MongoDB linked service and configure it by referring to [Linked service properties](#linked-service-properties).
259
+
1. If you use SQL queries in your pipelines that refer to the old MongoDB linked service, replace them with the equivalent MongoDB queries. See the following table for the replacement examples:
260
+
261
+
| SQL query | Equivalent MongoDB query |
262
+
|:--- |:--- |
263
+
|`SELECT * FROM users`|`db.users.find({})`|
264
+
|`SELECT username, age FROM users`|`db.users.find({}, {username: 1, age: 1})`|
265
+
|`SELECT username AS User, age AS Age, statusNumber AS Status, CASE WHEN Status = 0 THEN "Pending" CASE WHEN Status = 1 THEN "Finished" ELSE "Unknown" END AS statusEnum LastUpdatedTime + interval '2' hour AS NewLastUpdatedTime FROM users`|`db.users.aggregate([{ $project: { _id: 0, User: "$username", Age: "$age", Status: "$statusNumber", statusEnum: { $switch: { branches: [ { case: { $eq: ["$Status", 0] }, then: "Pending" }, { case: { $eq: ["$Status", 1] }, then: "Finished" } ], default: "Unknown" } }, NewLastUpdatedTime: { $add: ["$LastUpdatedTime", 2 * 60 * 60 * 1000] } } }])`|
For a list of data stores supported as sources and sinks by the copy activity, see [supported data stores](copy-activity-overview.md#supported-data-stores-and-formats).
Copy file name to clipboardExpand all lines: articles/data-factory/connector-troubleshoot-mongodb.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
-
title: Troubleshoot the mongodb connector
2
+
title: Troubleshoot the MongoDB connector
3
3
titleSuffix: Azure Data Factory & Azure Synapse
4
-
description: Learn how to troubleshoot issues with the mongodb connector in Azure Data Factory and Azure Synapse Analytics.
4
+
description: Learn how to troubleshoot issues with the MongoDB connector in Azure Data Factory and Azure Synapse Analytics.
5
5
author: jianleishen
6
6
ms.service: data-factory
7
7
ms.subservice: data-movement
8
8
ms.topic: troubleshooting
9
-
ms.date: 12/02/2022
9
+
ms.date: 07/24/2023
10
10
ms.author: jianleishen
11
11
ms.custom: has-adal-ref, synapse
12
12
---
@@ -28,6 +28,18 @@ This article provides suggestions to troubleshoot common problems with the Mongo
28
28
29
29
-**Resolution**: In the MongoDB connection string, add the *uuidRepresentation=standard* option. For more information, see [MongoDB connection string](connector-mongodb.md#linked-service-properties).
30
30
31
+
## Migrate to the new version of MongoDB connector
32
+
33
+
-**Symptoms**: You meet the following error code and error message:
34
+
-**Error code**: `DeprecatedMongoDbOdbcConnector`
35
+
-**Error message**: `The legacy MongoDB connector has been deprecated. To ensure your pipeline works, please create a new MongoDB linked service. Detailed instructions can be found in this documentation: https://learn.microsoft.com/azure/data-factory/connector-mongodb#upgrade-the-mongodb-linked-service`
36
+
37
+
-**Cause**:
38
+
Your pipeline is still running on a legacy MongoDB connector that causes the error.
39
+
40
+
-**Resolution**:
41
+
Upgrade your MongoDB linked service to the latest version. Refer to this [article](connector-mongodb.md#upgrade-the-mongodb-linked-service).
42
+
31
43
## Next steps
32
44
33
45
For more troubleshooting help, try these resources:
During an active attack, Azure DDoS Protection customers have access to the DDoS Rapid Response (DRR) team, who can help with attack investigation during an attack and post-attack analysis. For more information, see [Azure DDoS Rapid Response](ddos-rapid-response.md).
37
37
38
-
## SKU
38
+
## Tier
39
39
40
-
Azure DDoS Protection is offered in two available SKUs, DDoS IP Protection and DDoS Network Protection. For more information about the SKUs, see [SKU comparison](ddos-protection-sku-comparison.md).
40
+
Azure DDoS Protection is offered in two available tiers, DDoS IP Protection and DDoS Network Protection. For more information about the tiers, see [Tier comparison](ddos-protection-sku-comparison.md).
0 commit comments