ThomasKur / IntuneDocumentation

Automatic Intune Documentation to simplify the life of admins and consultants.
GNU General Public License v3.0
339 stars 87 forks source link

Get-Groups and Add-WordTable throwing all kinds of errors #70

Closed edtrax closed 1 year ago

edtrax commented 2 years ago

`Get-Groups : 404 Not Found {"error":{"code":"Request_ResourceNotFound","message":"Resource '436e7548-cf13-48cd-a558-35ff17ccf057' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-09-28T22:33:58","request-id":"bf4cfcdb-a6c6-4e60-a21f-64ce0d98c9a5","client-request-id":"bf4cfcdb-a6c6-4e60-a21f-64ce0d98c9a5"}}} At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail_Assignment.ps1:25 char:21

Get-Groups_Members : 404 Not Found {"error":{"code":"Request_ResourceNotFound","message":"Resource '436e7548-cf13-48cd-a558-35ff17ccf057' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-09-28T22:33:58","request-id":"a897602b-fd77-449d-a154-ee9fca5a507b","client-request-id":"a897602b-fd77-449d-a154-ee9fca5a507b"}}} At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail_Assignment.ps1:36 char:20

Add-WordTable : Object reference not set to an instance of an object. At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail.ps1:29 char:33

Get-Groups : 404 Not Found {"error":{"code":"Request_ResourceNotFound","message":"Resource 'fd764199-dfac-4ea3-826b-00a04d8e78d6' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-09-28T22:34:57","request-id":"8eb5d13e-63eb-494d-8434-280c2afada51","client-request-id":"8eb5d13e-63eb-494d-8434-280c2afada51"}}} At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail_Assignment.ps1:25 char:21

Get-Groups_Members : 404 Not Found {"error":{"code":"Request_ResourceNotFound","message":"Resource 'fd764199-dfac-4ea3-826b-00a04d8e78d6' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-09-28T22:34:58","request-id":"b25023a6-07c4-46b6-ac65-4b992ec241be","client-request-id":"b25023a6-07c4-46b6-ac65-4b992ec241be"}}} At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail_Assignment.ps1:36 char:20

Add-WordTable : Object reference not set to an instance of an object. At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail.ps1:29 char:33

Get-Groups : 404 Not Found {"error":{"code":"Request_ResourceNotFound","message":"Resource '5763aab5-92e2-4fa3-ba55-3adbcf22259c' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-09-28T22:35:10","request-id":"e0640366-650d-49a3-ab56-8e7b365d9d1b","client-request-id":"e0640366-650d-49a3-ab56-8e7b365d9d1b"}}} At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail_Assignment.ps1:25 char:21

Get-Groups_Members : 404 Not Found {"error":{"code":"Request_ResourceNotFound","message":"Resource '5763aab5-92e2-4fa3-ba55-3adbcf22259c' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-09-28T22:35:10","request-id":"c8b6b8ba-eaf9-4dbd-a7a9-c3a3969a10c4","client-request-id":"c8b6b8ba-eaf9-4dbd-a7a9-c3a3969a10c4"}}} At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail_Assignment.ps1:36 char:20

Get-Groups : 404 Not Found {"error":{"code":"Request_ResourceNotFound","message":"Resource '3089a5d6-4a6f-4e92-aa27-beceefd4d0a1' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-09-28T22:35:10","request-id":"179eda17-4abf-4dae-9379-31bb184ba58a","client-request-id":"179eda17-4abf-4dae-9379-31bb184ba58a"}}} At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail_Assignment.ps1:25 char:21

Get-Groups_Members : 404 Not Found {"error":{"code":"Request_ResourceNotFound","message":"Resource '3089a5d6-4a6f-4e92-aa27-beceefd4d0a1' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2022-09-28T22:35:11","request-id":"64214875-4db4-49d4-998c-ee13814a154f","client-request-id":"64214875-4db4-49d4-998c-ee13814a154f"}}} At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail_Assignment.ps1:36 char:20

Add-WordTable : Object reference not set to an instance of an object. At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail.ps1:29 char:33

Add-WordTable : Object reference not set to an instance of an object. At C:\Program Files\WindowsPowerShell\Modules\IntuneDocumentation\2.0.19\Internal\Invoke-PrintAssignmentDetail.ps1:29 char:33

ThomasKur commented 1 year ago

Please use the evolved M365Documentation script which provides more options: https://www.wpninjas.ch/2021/05/automatic-intune-documentation-evolves-to-automatic-microsoft365-documentation/