In this blog post, I will show you how you can trap a specific type of error when making a graph request using the Invoke-RestMethod commandlet and pause and retry the request x number of times before quitting. This is very helpful and is actually recommended to do error handling when making requests to Microsoft Graph. The key here is to set the Url that you’re going to be calling…
Read MoreRecent Posts
- AADSTS50000: There was an error issuing a token or an issue with our sign-in service
- Using MSAL.js v2 in a SPA App to call a web API protected by Azure App Service’s Easy Auth with Azure AD
- Retry Invoke-RestMethod requests in PowerShell when an error occurs
- Getting Azure Key Vault secret with Azure.Identity and Azure.Security.KeyVault
- Some tips and tricks with Fiddler capture
Archives
- February 2021 (2)
- January 2021 (3)
- October 2020 (2)
- September 2020 (2)
- August 2020 (3)
- July 2020 (2)
- June 2020 (4)
- May 2020 (2)
- April 2020 (6)
- March 2020 (1)
- January 2020 (3)
- December 2019 (7)
- November 2019 (7)
- October 2019 (1)
- August 2019 (6)
- July 2019 (5)
- June 2019 (1)
- May 2019 (3)
- April 2019 (2)
- March 2019 (3)
- January 2019 (4)
- December 2018 (1)
- November 2018 (4)
- October 2018 (2)
- September 2018 (2)
- August 2018 (2)
- June 2018 (2)
- May 2018 (8)
- April 2018 (6)
- February 2018 (2)
Categories
Tags
.Net
AAD
AAD Application
AAD Graph API
AADSTS90094
AADSTS error
Access Token
ADAL
ADAL .Net
Admin Consent
Application
Application Registration
App Service
aspnetcore
Authentication
Authorization
Authorization Code
Azure
Azure Active Directory
azuread
Azure Key Vault
Client Credential Grant
Client Credentials
Console Application
Create
Easy Auth
Enterprise Application
fiddler
GraphClient
Graph Explorer
How To
jwt
Keys
Microsoft Graph
Microsoft Graph API
MSAL.Net
oidc
owin
Permissions
Postman
PowerShell
proxy
Tools
Users
Web APP/API