Update Notification Hub Rest Api - deletes all other Values RRS feed

  • Question

  • Hello,

    if I update a notification hub,the values are cleared, which I do not update.

    For example, if I only update the ApnsCredential

    $xml = '<?xml version="1.0" encoding="UTF-8"?>
    <entry xmlns="http://www.w3.org/2005/Atom">
       <content type="application/xml">
          <NotificationHubDescription xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    the GcmCredential and AuthorizationRules in the Hub will be deleted.


    The other way, if i updated all values (GcmCredential,AuthorizationRules,ApnsCredential), only the GcmCredential and AuthorizationRules or the GcmCredential and ApnsCredential accepted. Never AuthorizationRules and ApnsCredential togehter.

    I always lose the AuthorizationRules.

    How do you do this?

    Thank you

    Monday, April 18, 2016 8:01 AM

All replies

  • Hi,

    Thanks for reaching out! We want to try to reproduce this and was wondering if you mind sharing the uri you are hitting against? Feel free to send it to yuaxu@microsoft.com if that works better.



    Friday, April 22, 2016 5:39 PM