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
Fix the table microsoft365_user to populate all column value correctly and optimized the table performance by making API call based on the select statements (#68)
Copy file name to clipboardExpand all lines: docs/tables/microsoft365_group.md
-21Lines changed: 0 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,17 +11,9 @@ Microsoft 365 Groups are collections of users that can be used to manage access
11
11
12
12
The `microsoft365_group` table provides insights into group management and configuration across your Microsoft 365 tenant. As a Microsoft 365 administrator, explore group details through this table to understand group types, membership rules, mail settings, and security configurations. Utilize it to audit group permissions, track group creation and expiration, and monitor group compliance.
13
13
14
-
**Important Notes**
15
-
16
-
- This table requires Microsoft Graph API permissions for reading group information
17
-
- Data includes all groups in the tenant (excluding dynamic distribution groups)
18
-
- Some fields may be null for certain group types
19
-
- Dynamic membership rules are supported for security groups
20
-
21
14
## Examples
22
15
23
16
### Basic group overview
24
-
25
17
Explore all groups in your organization with their basic information.
26
18
27
19
```sql+postgres
@@ -57,7 +49,6 @@ order by
57
49
```
58
50
59
51
### Microsoft 365 groups analysis
60
-
61
52
Analyze Microsoft 365 groups (unified groups) in your organization.
62
53
63
54
```sql+postgres
@@ -97,7 +88,6 @@ order by
97
88
```
98
89
99
90
### Security groups with dynamic membership
100
-
101
91
Find security groups that use dynamic membership rules.
102
92
103
93
```sql+postgres
@@ -133,7 +123,6 @@ order by
133
123
```
134
124
135
125
### Mail-enabled groups analysis
136
-
137
126
Analyze mail-enabled groups and their configuration.
138
127
139
128
```sql+postgres
@@ -173,7 +162,6 @@ order by
173
162
```
174
163
175
164
### Group type distribution
176
-
177
165
Analyze the distribution of different group types in your organization.
178
166
179
167
```sql+postgres
@@ -215,7 +203,6 @@ order by
215
203
```
216
204
217
205
### Groups with external senders allowed
218
-
219
206
Find groups that allow external users to send messages.
220
207
221
208
```sql+postgres
@@ -251,7 +238,6 @@ order by
251
238
```
252
239
253
240
### Groups with assigned licenses
254
-
255
241
Find groups that have licenses assigned to them.
256
242
257
243
```sql+postgres
@@ -285,7 +271,6 @@ order by
285
271
```
286
272
287
273
### Recently created groups
288
-
289
274
Find groups created in the last 30 days.
290
275
291
276
```sql+postgres
@@ -323,7 +308,6 @@ order by
323
308
```
324
309
325
310
### Groups with expiration dates
326
-
327
311
Find groups that have expiration dates set.
328
312
329
313
```sql+postgres
@@ -357,7 +341,6 @@ order by
357
341
```
358
342
359
343
### On-premises synchronized groups
360
-
361
344
Find groups that are synchronized from on-premises Active Directory.
362
345
363
346
```sql+postgres
@@ -393,7 +376,6 @@ order by
393
376
```
394
377
395
378
### Groups with provisioning errors
396
-
397
379
Find groups that have on-premises or service provisioning errors.
398
380
399
381
```sql+postgres
@@ -429,21 +411,18 @@ order by
429
411
## Troubleshooting
430
412
431
413
### Authentication Issues
432
-
433
414
If you encounter authentication errors:
434
415
435
416
1.**Verify Permissions**: Ensure the authenticated user has appropriate Microsoft Graph API permissions
436
417
2.**Check Scopes**: Verify that the required scopes for group management are granted
437
418
3.**Admin Consent**: Some data may require admin consent for the application
438
419
439
420
### Common Error Messages
440
-
441
421
-**403 Forbidden**: The user lacks permissions to read group data
442
422
-**401 Unauthorized**: Authentication token is invalid or expired
443
423
-**Connection Error**: Check network connectivity and authentication configuration
444
424
445
425
### Filtering by Group Types
446
-
447
426
The table supports filtering by group types using the `group_types` column:
0 commit comments