title: Menu Items not appearing after deploying google App Script as Sheets Add-On
body: <p>I have developed a script and deployed &amp; published it as Add-On, this is internal app. I am able to see Add-On in Sheets, but only main menu is visible. Menu items created in onOpen(e) are not visible.</p>
  
  <p>These menu's are visible when I performed testing but not working only while installing in another user.</p>
  
  <p>I guess I am missing something in deployment. Can someone help me with the same?</p>
  
  <p>Step1: I clicked on Publish-->Deploy as add-on--> got message as "You must configure the G Suite Marketplace SDK to publish an add-on.".</p>
  
  <p>Step2: I went to GCP, enabled G Suite Marketplace SDK from APIs. Provided all details in configuration and Publish and clicked on Publish.</p>
  
  <p>Step3: Now, the Add-On is visible in GSuite market and able to install it. But only Main menu is appearing, sub menu's inside it are not appearing.</p>
  
  <pre><code>function onInstall(e) {
    onOpen(e);
  }  
  
  function onOpen(e) {
  
      var menu = SpreadsheetApp.getUi().createAddonMenu(); // Or DocumentApp.
      if (e &amp;&amp; e.authMode == ScriptApp.AuthMode.NONE) {
          // Add a normal menu item (works in all authorization modes).
          menu.addItem('Submit to Level1', 'P_Level1');
          menu.addSeparator();
          menu.addItem('Submit to Level2', 'P_Level2');
      } else {
          // Add a menu item based on properties (doesn't work in AuthMode.NONE).
          var properties = PropertiesService.getDocumentProperties();
          var workflowStarted = properties.getProperty('workflowStarted');
          if (workflowStarted) {
          menu.addItem('Submit to Level1', 'P_Level1');
          menu.addSeparator();
          menu.addItem('Submit to Level2', 'P_Level2');
          } else {
          menu.addItem('Submit to Level1', 'P_Level1');
          menu.addSeparator();
          menu.addItem('Submit to Level2', 'P_Level2');
          }
          menu.addToUi();
      }
  }
  </code></pre>
  
  <p>Regards,
  Sai Krishna.</p>