Wouldn't a "Redirect" response code fall in the 3xx range?
Powershell script to check specifically if the url redirect is to login page instead of redirect in general
I have the below code that redirects the url (used -MaximumRedirection 0) to a normal. My concern is to check specifically if the url redirect is to login page instead of redirect in general. Is that possible?
2 answers
Sort by: Most helpful
-
-
Limitless Technology 39,336 Reputation points
2021-12-16T18:17:44.947+00:00 I think it's important for you to refer to the article below on "Redirect URI (Response URL) Restrictions and Limitations" which will help you to better understand what is possible and what is not in the scenario you are facing:
https://learn.microsoft.com/en-us/azure/active-directory/develop/reply-url
----
--If the answer is helpful, please vote positively and accept the answer--