Open eskaufel opened 3 years ago
@xccc-msft
It seems AAD changed it payload somehow. Please take a look next sprint.
found out a way of working this around for myself
instead of
Azure.ActiveDirectoryApplications. GetById("some object id"). Update(). DefinePasswordCredential("PasswordName"). WithPasswordValue("SecretPassword"). Attach();
you need to do some other things:
Azure.ActiveDirectoryApplications.Manager.Applications. GetById("some object id"). Update(). DefinePasswordCredential("PasswordName"). WithPasswordValue("SecretPassword"). Attach();
Describe the bug DefinePasswordCredential for ActiveDirectoryApplications throws NullReferenceException when used to update existing AAD Application.
Exception or Stack Trace
To Reproduce Authorize then use provided code snippet
Code Snippet
Expected behavior The client secret/password to be added the to AAD application
Screenshots NA
Setup (please complete the following information):
Additional context NA
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report