IBM Support

IT34939: MESSAGE "ARGUMENT OF TYPE 'NONETYPE' IS NOT ITERABLE" ON MICROSOFT OFFICE 365 AGENT DISCOVERY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The IBM Spectrum Protect Plus Microsoft Office 365 agent
    discovery process can produce the following messages in the job
    log when performing the inventory :
    
     ERROR,<timestamp>,CTGGR0009,[<ProxyHostIP>] {0} - {1} -
                                 Task ended with status: failed.
    DETAIL,<timestamp>,CTGGA4102,[<ProxyHostIP>] --- Finished
                                 discovery for office365 agent ---
      WARN,<timestamp>,[<ProxyHostIP>] TypeError: argument of type
                       'NoneType' is not iterable
      WARN,<timestamp>,CTGGA4106,[<ProxyHostIP>] Failed to run
                                 discovery for office365 agent.
    
    when there are connectivity problems between the proxy host
    where the IBM Spectrum Protect Plus agent is installed and
    Microsoft Office 365 needed hosts like :
    
    https://accounts.accesscontrol.windows.net/{TenantId}/tokens/OAu
    th/2
    https://graph.microsoft.com/
    https://login.microsoftonline.com/{TenantId}/oauth2/token
    https://outlook.office365.com/EWS/Exchange.asmx
    
    The job log messaging should give a clear indication of the
    source of the problem.
    
    Versions Affected: IBM Spectrum Protect Plus 10.1.5 and later
    
    Initial Impact: Medium
    
    Additional Keywords: SPP, SPPLUS, TS004326846, O365
    

Local fix

  • Verify Microsoft Office 365 systems availability with
    URL : https://connectivity.office.com
    
    Verify connectivity for below example addresses with the 'curl'
    utility from the proxy host.
    
       curl https://login.microsoftonline.com
    
    This should result in the following:
    
       <html><head><title>Object moved</title></head><body>
       <h2>Object moved to <a
    href="https://www.office.com/login">here</a>.</h2>
       </body></html>
    
    and
    
       curl https://www.office.com/login
    
    This command should not return any output.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum ProtectPlus level 10.1.5, 10.1.6. 10.1.7 and    *
    * 10.1.8                                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See ERROR DESCRIPTION                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed in IBM Spectrum Protect Plus 10.1.9.   *
    * Note that this is subject to change at the discretion of IBM *
    ****************************************************************
    

Problem conclusion

  • The problem was related to the incorrect permission
    configuration in the AzureAD application. This problem has been
    fixed so that after encountering the incorrect permissions, the
    agent leaves a message in the job log.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT34939

  • Reported component name

    SP PLUS

  • Reported component ID

    5737SPLUS

  • Reported release

    A16

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-11-16

  • Closed date

    2021-10-08

  • Last modified date

    2021-10-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • Apps     O365
    

Fix information

  • Fixed component name

    SP PLUS

  • Fixed component ID

    5737SPLUS

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNQFQ","label":"IBM Spectrum Protect Plus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A16","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
31 January 2024