You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When attempting to update an Application's onPremisesPublishing settings using Update-MgBetaApplication as instructed in the docs (LINK) an error occurs. The only difference being that the external_url being used is a custom/verified domain in Entra ID.
Line |54|Update-MgBetaApplication-ApplicationId $app_id-BodyParameter $n …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Request contains a property with duplicate values. Status: 400 (BadRequest) ErrorCode: DuplicateValueInDifferentCase
However there is no indication of what duplicate value is causing the error. The documentation is being followed precisely yet the error still occurs.
To Reproduce
Steps to reproduce the behavior:
Create a new application with Invoke-MgInstantiateApplicationTemplate
Useing Update-MgApplication, update the newly created application values as instructed...
where $external_url will be something along the lines of https://$application_name.myCustomDomain.com. The custom domain being used in place of msappproxy.net is a registered/verified domain in Entra ID.
Update the onPremisesPublishing values for the application with Update-MgBetaApplication where -BodyParamater contains the following:
At this point an error occurs consistently stating Request contains a property with duplicate values. Status: 400 (BadRequest) ErrorCode: DuplicateValueInDifferentCase
Expected behavior
After running Update-MgBetaApplication the expected response is HTTP/1.1 204 No content as per the docs.
Update as I've been playing more with this and it appears that I can bypass the error by explicitly setting variables toLower() such as in the following example:
Hi @cameron-doherty apologies for super late response on this issue. As for the case sensitivity I agree that it should not matter, unfortunately I don't have complete visibility on the service issue. I therefore advise that you first upgrade to the latest SDK (2.25.0) then raise an issue here https://developer.microsoft.com/en-us/graph/support so that the API owner can respond to it.
Describe the bug
When attempting to update an Application's onPremisesPublishing settings using
Update-MgBetaApplication
as instructed in the docs (LINK) an error occurs. The only difference being that the external_url being used is a custom/verified domain in Entra ID.However there is no indication of what duplicate value is causing the error. The documentation is being followed precisely yet the error still occurs.
To Reproduce
Steps to reproduce the behavior:
Invoke-MgInstantiateApplicationTemplate
Update-MgApplication
, update the newly created application values as instructed...where
$external_url
will be something along the lines ofhttps://$application_name.myCustomDomain.com
. The custom domain being used in place of msappproxy.net is a registered/verified domain in Entra ID.onPremisesPublishing
values for the application withUpdate-MgBetaApplication
where -BodyParamater contains the following:Request contains a property with duplicate values. Status: 400 (BadRequest) ErrorCode: DuplicateValueInDifferentCase
Expected behavior
After running
Update-MgBetaApplication
the expected response isHTTP/1.1 204 No content
as per the docs.Debug Output
Module Version
Environment Data
The text was updated successfully, but these errors were encountered: