Forum Discussion
ELIN Not Showing in PIDF/LO passed to SBC
Hello,
Sorry the Set is like New, the LocationId already exists and you can't modify it.
Set-CsOnlineLisLocation -LocationId e4187ffc-6466-4871-911a-a1bde6e4c1df -Elin "ASB_FALLBACK"
Set-CsOnlineLisLocation : Location already exists with same locationId and cannot update default location for a
validated address CannotUpdateDefaultLocationLocationId=e4187ffc-6466-4871-911a-a1bde6e4c1df,
TenantId=e5a06f4a-1ec4-4d01-8f73-e7dd15f26134, IsDefault=True, Elin=
At line:1 char:1
+ Set-CsOnlineLisLocation -LocationId e4187ffc-6466-4871-911a-a1bde6e4c ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: ({ body = Micros...s.SetLocation }:<>f__AnonymousType6`1) [Set-C
sOnlineLisLocation], UndeclaredResponseException
+ FullyQualifiedErrorId : Forbidden,Microsoft.Teams.ConfigApi.Cmdlets.SetCsOnlineLisLocation
Interesting, it used to be you could modify some attributes of validated attributes, but the error you have there suggests you cannot change anything now. I'll have a test in my tenant and see. I thought ELIN was one of those changeable attributes.
You can use Set-CsOnlineLisLocation to edit existing locations, New- is limited to just creating items.