-
Notifications
You must be signed in to change notification settings - Fork 850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
graphrbac: Application homepage (signInUrl) cannot be cleared #10463
Comments
…e property - The homepage property (now known as 'signinUrl') used to be a required field with a default value when using the Azure Portal. - It's no longer presented to the user when creating an application, and defaults to being unset (`null` in the application manifest) - Also, it cannot currently be unset by the SDK once set. See Azure/azure-sdk-for-go#10463
Hi @manicminer thanks for this issue! Due to the nature of http verb of And the service must be validating the parameters it receives, therefore setting homepage to empty string would get an error (the service should be expecting this to be a http URL). Therefore I assume that you could not erase this by using the Have you tried if in BTW invoking someone from the service team to answer this business related question... |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure. |
Hi @ArcturusZhang, thanks for the explanation. With the Note that the Portal exposes this field in the Branding blade form, and if you clear the value and submit, it's set to |
Hi @manicminer could you post a full request body from the portal? I suppose this may have something to do with the I am not quite familiar with this resource, therefore I did some experiments using the resource groups (resource groups have PATCH request). First I created a resource group by using the following body:
And then I send a PATCH request with the following body expecting it to erase all tags for me:
But unfortunately it does not work, the tags remain on the resource group. Therefore I would like to know the full request and response on the portal to see where is the difference. Thanks a lot! |
@ArcturusZhang The request body is the same as the one that's visible in the screenshot. {"id":"7aa0c6e5-03d1-4ca0-bd1b-c2bab37ee49d","signInUrl":null} I captured another request where in addition to the Homepage URL ( {"id":"1dd5b133-5faf-48e8-a621-75c2bbdff727","signInUrl":null,"informationalUrls":{"termsOfService":"","privacy":""}} It seems to depend on the particular property being set, but for some properties, setting a value to I think you're right about The relevant Portal blade: |
Yeah... For the resource group service, the service chose to ignore the null-valued field in PATCH, but in this service, maybe not. In fact, I currently do not have any idea that we could do on the SDK side for this (maybe remove the @jhendrixMSFT could you provide some insight on this? |
Unfortunately this is a known limitation with our current design. As noted, the |
Hi @manicminer, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support. |
Bug Report
github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac
v42.1.0
go version go1.14.2 darwin/amd64
Homepage
property for an Application where it was previously setCreate an application with Homepage property set to some value
Then later try to clear the Homepage property
The property is absent from the object in the PATCH request.
Try to set to an empty string
and you get a 400 reply.
This property is nullable using the Azure Portal.
The text was updated successfully, but these errors were encountered: