Closed MUTYRTSSCV567t6 closed 1 year ago
Could it be that you are using a Proxy which is blocking the connection. Because I se 404 errors and bad requests. These commands are part of the Microsoft PowerShell module and therefore not under my control. Could you recheck?
New-M365DocAppRegistration Error --> Fixed
Connect-M365Doc --> Error was generated during Get-M365Doc and can occur if you have no Apple APN configuration within Intune. But you can ignore the warning.
The rest i could not reproduce. Please reopen if you still have the issues.
Hi, I have been running into the following errors
New-M365DocAppRegistration Error
`Set-AzureADApplication : Error occurred while executing SetApplication Code: Request_BadRequest Message: Property requiredResourceAccess.resourceAccess is invalid. RequestId: 58c0b738-f6ae-421a-b8df-df961132b408 DateTimeStamp: Fri, 02 Dec 2022 09:45:11 GMT Details: PropertyName - requiredResourceAccess.resourceAccess, PropertyErrorCode - GenericError HttpStatusCode: BadRequest HttpStatusDescription: Bad Request HttpResponseStatus: Completed At C:\Program Files\WindowsPowerShell\Modules\M365Documentation\3.1.2\Internal\Helper\Set-AzureADAppPermission.ps1:35 char:9
`Invoke-DocGraph : The remote server returned an error: (404) Not Found. At C:\Program Files\WindowsPowerShell\Modules\M365Documentation\3.1.2\Internal\Collector\Intune\Get-MdmAppleConfiguration.ps1:21 char:23
Get-GroupInfo : Cannot bind argument to parameter 'Groups' because it is an empty array. At C:\Program Files\WindowsPowerShell\Modules\M365Documentation\3.1.2\Internal\Collector\Intune\Get-MobileApp.ps1:53 char:50 + $DocSec2.Objects = Get-GroupInfo -Groups $AppGroups +
~~Convert-Path : Cannot find path 'C:\Windows\system32\202212020149-DemoCompany-M365-Doc.docx' because it does not exist. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\1.1.14\PSWriteWord.psm1:966 char:21
Test-Path : Cannot bind argument to parameter 'LiteralPath' because it is null. At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\1.1.14\PSWriteWord.psm1:967 char:36
Both Paragraph and WordDocument are null At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\1.1.14\PSWriteWord.psm1:1326 char:103