Page 1 of 1

MSOL 404 - File or directory not found

Posted: Tue Jun 28, 2022 1:09 pm
by CKurti@mcmtsg.com
Running the latest 3.0.0.26 build
Also I previously ran

Code: Select all

DROP TABLE `plugin_p4a_office365forautomate_events`;


Not quite sure what to do about this error. I am having trouble getting the MSOL Data Populated.
Is there a complete listing of permissions that the App registration should be assigned? Is it exclusively read only?

MSOL-Error.PNG
MSOL-Error.PNG (28.74 KiB) Viewed 3660 times

Code: Select all

11922 - DEBUG Return - Invoke-RestMethod : 
404 - File or directory not found.
Server Error
 
  404 - File or directory not found.
  The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
 
At C:\windows\temp\Office365\exec_MSOLStatus.ps1:153 char:19
+ ... esponses = (Invoke-RestMethod -Uri $uri -Headers $Headers -Method Get ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc 
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand 

UPDATE:

It would seem that “https://manage.office.com/api/v1.0/$Ten ... s/Messages”, has now been discontinued by Microsoft. Another method must be used by exec_MSOLStatus.ps1

Source:
https://anupams.net/automate-office-365 ... graph-api/

Re: MSOL 404 - File or directory not found

Posted: Tue Jun 28, 2022 1:57 pm
by Cubert
Wow, Ok we will get that updated.