Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

O365 Integration fails with GET error.

Michael Lineba2
Tera Contributor

Software Asset Job fails,  error is   AADSTS900561: The Endpoint only accepts POST, OPTIONS requests, received a GET.

 

Has anyone seen this before?

O365 import fail.png

O365 Error.png

  

2 REPLIES 2

dreinhardt
Kilo Patron
Kilo Patron

HI @Michael Lineba2 ,

I would prefer to raise a support case about this.

If you would like to check the basic status of the connection you can do the following

 

- Please check the latest updates for the plugin "SaaS License Management" and "SaaS License Integration", the released some updates to support more 365 products and features.

- Since Utah the job is called "SAM - Collect Microsoft 365 Usage", maybe you've to re-setup the ingration with the latest M365 profile to get your connection up and running

 

- Navigate to > Direct Integration Profiles and open your O365 integration

- Open the "Rest message"

- Here you can run the "Get OAuth Token" action to verify that the connection is able to get a token and you can test each of the HTTP methods (open one and run the test action)

dreinhardt_0-1689242766730.png

 

Best, Dennis

 

 

Should my response prove helpful, please consider marking it as the Accepted Solution/Helpful to assist closing this thread.

Michael Lineba2
Tera Contributor

Thanks