# Fault - DvsNotAuthorized(vim.fault.DvsNotAuthorized)

Thrown by
  AddDVPortgroup_Task, AddNetworkResourcePool, CreateDVS_Task, DvsReconfigureVmVnicNetworkResourcePool_Task, EnableNetworkResourceManagement, MergeDvs_Task, MoveDVPort_Task, PerformDvsProductSpecOperation_Task, ReconfigureDVPort_Task, ReconfigureDVPortgroup_Task, ReconfigureDvs_Task, RemoveNetworkResourcePool, UpdateDvsCapability, UpdateNetworkResourcePool
Extends
  DvsFault
Since
  vSphere API 4.0

## Fault Description

Thrown if dvsOperationSupported is false and extensionKey is not same as the extension key of the login-session.

Properties

Name | Type | Description
--- | --- | ---
dvsExtensionKey* | xsd:string | The value of extensionKey.
sessionExtensionKey* | xsd:string | The extension key associated with the user-session.
Properties inherited from DvsFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="DvsNotAuthorized"> <complexContent> <extension base="vsan:DvsFault"> <sequence> <element name="sessionExtensionKey" type="xsd:string" minOccurs="0"/> <element name="dvsExtensionKey" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>