cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Throw 401 Exception

Hi,

I am developing a custom connector and I'm making a TestConnection, so I would like to know if I can throw a 401 exception like Web.Contents does, for re-prompt credentials.

The API always returns a 200 and the error goes into the body, is there a way to achieve a re-prompt or throw 401 exception?

 

Thanks in advance

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!