msgraph-sdk-go icon indicating copy to clipboard operation
msgraph-sdk-go copied to clipboard

MSGraph Permission delay in SDK

Open piyushdatazip opened this issue 2 years ago • 1 comments

Golang SDK have a delay when assigned MSGraph Permissions to azure managed Identity.

Azure CLI installed in Pod get's access with managed identity in few minutes. but azidentity and msgraph SDK are taking hours to resolve the permission. I've added a FATAL which forces the service to restart in AKS making sure that it has refreshed token

Due to this my team is routing towards CLI execution and parsing the output. SDK isn't helping in this

piyushdatazip avatar Aug 04 '23 07:08 piyushdatazip

Tagging @andrueastman for your attention here

piyushdatazip avatar Aug 04 '23 07:08 piyushdatazip

Hi @piyushdatazip , Thanks for trying the SDK. F I'd like to see the code that you are using to trying to retrieve the Permission in GoLang. There is a context timeouts that's added to requests and I'd like to know what code path is resulting to more than a 1hr wait.

rkodev avatar May 30 '24 10:05 rkodev

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.