Exchange Connector 3.0 RTM - Wrong action log type (user comments are sometimes analyst comments)
Hi,
We started using Service Manager a few days ago and I'm noticing some strange behavior from the Exchange connector. Sometimes when a user replies to an e-mail, it get's added as an "Analyst comment", also the private checkbox has a dot in it (not
blank or checked, but a dot..)
In this screenshot user "Marwan" is a regular user, replying to us via email...
Any ideas?
Today there already is intelligence that checks if the recipient == affected user. I am merely suggesting to rewise and/or extend this logic
As I wrote, I see two possible ways here. The easy and the hard (optimal) way. The easy way would be to turn it around, meaning all comments = End-User comments unless it's coming from the Assigned User. So the check would be on the Assigned User instead
of the Affected User as it is today. I understand that some people might complain about this, and might have adapted to the current solution, so it should be optional. In my experience I just see this as more suitable for the customers needs. Well if the source
code could be released it would make it easier to make custom adjustments, e.g. change the Private boolean value to false etc. ;)
The hard optimal way would be to add more options for deciding when it's an Analyst and when it's an End-User. Of course the Exchange connector can't figure that out, but if it did comparison to preselected groups or perhaps User Roles (e.g. if recipient
is Incident Resolver and not affected user => analyst comment).
In any case it's an interesting discussion with many aspects, but one thing is for certain: the exchange connector is unfinished. Not broken, just lacking options. Today people are making alot of custom workflows and even their own connectors to accommodate
for these issues.
Similar Messages
-
SCCM 2012 and Exchange Connector some how getting wrong domain when associating devices to users
I happen to go to the SCCM software catalog site and click devices and noticed that my mobile device was not included.
After finding my device in All Mobile Devices I found the following:
For my device the connect assigned Foo\UserName where it should have actually been Bar\UserName.
Our domain is foo.domain but when we log in to computers we use bar\Username. If I login as
[email protected] authentication works.
So how do I get the SCCM Exchange connector to select Bar\UserName and not foo\username? I'm guessing that this is actually an Exchange issue but I figure I would ask here first.
Thanks!Since no one has answer this post, I recommend opening a support case with CSS as they can work with you to solve this problem.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Hello,
I am running Service Manager 2012 with the Exchange Connector 3.0 RTM (Re-release Version). The issue I have is that when an e-mail is processed that is trying to update the status or event log of an incident, the Exchange Connector encounters an error
and will not update the object. The Operations Manager log denotes:
Exchange Connector: Unable to process mail item. Subject="Close Ticket: [IRXXXXX]", Error Message=The key value of an object cannot be changed.
This will happen on a seemingly random selection of Incident work items. I cannot correlate them with a specific template, exchange connector, or incident tier queue that could be causing the issue. I can recreate the way a specific ticket
was created and update it through e-mail without issue, and the next ticket can cause the error to trigger.
I have already opened a Microsoft Support Case using our Software Assurance agreement. After a few months of troubleshooting the issue and trying different fixes, Microsoft support said they were unable to fix the problem and that we would need to
purchase Premier support to go further. At this point I thought I would reach out to the community for ideas.
The setup I have for the Exchange connectors is as follows.
I have three separate Exchange connectors set up to three different mailboxes. One Exchange connector processes external support tickets and applies a specific template. Another processes client support tickets and applies a different template.
And the last Exchange connector processes internal tickets and also processes the updates of tickets created by the other two exchange connectors.
Here are the fixes I've attempted so far:
1. Changed the templates that each Exchange connector applies.
2. Changed the management pack that each template is stored in.
3. Checked my management pack(s) for extended classes by searching for Extension="true" (This was also checked by Microsoft support)
4. Deleted each Exchange connector and recreated each connector
5. Deleted each Exchange connector, deleted the management pack, and reinstalled the management pack and connectors
6. Repeated Step 5, deleted Microsoft.SystemCenter.ExchangeConnector.dll and Microsoft.SystemCenter.ExchangeConnector.resources.dll and then installed the Exchange connector Re-release version 3.0 Published 10/7/2013 (which is supposed to address this
issue)
7. Deleted the HealthServiceState folder and restarted the Management Service
I'm not really sure what to do at this point. I've put many hours into customizing my installation to get it working for my organization so reformatting and starting from scratch would be a nightmare scenario. This environment is in production.
I do have a band-aid in place using Orchestrator. Basically I have a monitor task searching for the error message and when it finds one it searches the mailbox for the offending e-mail and applies either the Resolve or Close status change that is requested
from the user. However, I do not have it working to update the ticket if a comment is applied to the incident. If anyone is in this position and needs to know how to apply this Orchestrator task I am willing to provide my workflow.
I am new to the community and am already impressed with the amount of help and effort there is in this forum. I appreciate in advance any help that is provided and am open to any ideas at this point. I can post more information as needed.
Thank you,
JohnYes that is the whole template. However, I did confirm that this is only happening to incidents where either of two situations triggers a runbook to fire and modify the incident. When I remove the activity from the incident it does clear the
issue. For some background the first Runbook Activity set's the first response date when an incident is resolved if the first response value is null. The second assigns the incident to a user upon creation if the title contains assignto:username;
1.)
<ObjectTemplate ID="Template.d33b5bbcaf3c49b18d8b72bc1e5e1ee4" TypeID="IncidentManagement!System.WorkItem.Incident.ProjectionType">
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/Escalated$">False</Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/NeedsKnowledgeArticle$">False</Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/HasCreatedKnowledgeArticle$">False</Property>
<Object Path="$Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity' TypeConstraint='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity']$">
<Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/RunbookId$">4085f0da-ab83-48e5-bbe3-1f3b5fa2dc4a</Property>
<Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/TemplateId$">Template.d33b5bbcaf3c49b18d8b72bc1e5e1ee4</Property>
<Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/IsReadyForAutomation$">True</Property>
<Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/PropertyMapping$"><?xml version="1.0" encoding="utf-16"?>
<ParameterMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ParameterList>
<RunbookParameterItem>
<Name>Get RA Guid</Name>
<Id>344b15effc1a44528e517c5b4227179c</Id>
<Type>String</Type>
<Value>Generic::Id</Value>
<Direction>In</Direction>
<ContextInfo />
</RunbookParameterItem>
</ParameterList>
<RunbookId>4085f0da-ab83-48e5-bbe3-1f3b5fa2dc4a</RunbookId>
</ParameterMapping></Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/ChildId$">1906</Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Status$">$MPElement[Name='CustomSystem_WorkItem_Activity_Library!ActivityStatusEnum.Active']$</Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Skip$">False</Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Title$">Set First Response on Resolve</Property>
</Object>
</ObjectTemplate>
2.)
<ObjectTemplate ID="Template.b311e1f9126e4e19bbbbeb65ddb220ba" TypeID="IncidentManagement!System.WorkItem.Incident.ProjectionType">
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/Escalated$">False</Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/Status$">$MPElement[Name='CustomSystem_WorkItem_Incident_Library!IncidentStatusEnum.Active']$</Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/NeedsKnowledgeArticle$">False</Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/HasCreatedKnowledgeArticle$">False</Property>
<Object Path="$Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity' TypeConstraint='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity']$">
<Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/RunbookId$">ca88b13b-861a-4d39-a3cb-fd912d951e35</Property>
<Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/TemplateId$">Template.b311e1f9126e4e19bbbbeb65ddb220ba</Property>
<Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/IsReadyForAutomation$">True</Property>
<Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/PropertyMapping$"><?xml version="1.0" encoding="utf-16"?>
<ParameterMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ParameterList>
<RunbookParameterItem>
<Name>RA Activity GUID</Name>
<Id>5677d117a0294a2c898a695032f26c72</Id>
<Type>String</Type>
<Value>Generic::Id</Value>
<Direction>In</Direction>
<ContextInfo />
</RunbookParameterItem>
</ParameterList>
<RunbookId>ca88b13b-861a-4d39-a3cb-fd912d951e35</RunbookId>
</ParameterMapping></Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/ChildId$">1120</Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Status$">$MPElement[Name='CustomSystem_WorkItem_Activity_Library!ActivityStatusEnum.Active']$</Property>
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Skip$">False</Property>
<Property Path="$Context/Property[Type='WorkItem!System.WorkItem']/Title$">Execute Orchestrator IR - Autoassign</Property>
</Object>
</ObjectTemplate> -
Exchange 2013 - OWA "Something Went Wrong", Out of office in Outlook "Server unavailable"
Hi,
We have a new deployment of Exchange 2013 CU2 V2 running on a Windows 2012 server. Everything has been running without issues and then without any real clue to why, we are now getting an issue where OWA says "Something Went Wrong" after processing
your login, (it appears to process the login as if I type in incorrect details it tells me the password/username is wrong).
At the same time we have also lost the ability to run the Out Of Office in Outlook which comes back saying the server is not available and we can't seem to share calendars correctly either. (Can set Out Of Office via the Management Shell without issues).
When running a Get-Serverhealth on the OWA.Protocol it tells me the OWASelfTestMonitor is unhealthy.
I've tried re-creating the OWA, EWS Virtual Directorys and also the autodiscover but with no effect. I've also restarted the server.
Outlook 2013 and mobile phones are working fine on the server and the Exchange Admin Centre is also working without issues.
I am getting tempted to apply CU2 again to see if this sorts it but don't really like doing this on a server with 50 live users on it...
In the eventlog I can see lots of the 2 errors listed below which seems to line up. (System Log and Application Log seem to be clear of other errors or warnings.)
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 04/11/2013 11:25:00
Event time (UTC): 04/11/2013 11:25:00
Event ID: 2fcdb9112c794b63a9ea9577a23e4603
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT/owa-411-130280378905273269
Trust level: Full
Application Virtual Path: /owa
Application Path: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\owa\
Machine name: SERVERNAME (I altered this for post)
Process information:
Process ID: 9648
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: HttpException
Exception message: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
Lots more code.......
AND
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 04/11/2013 11:24:24
Event time (UTC): 04/11/2013 11:24:24
Event ID: 2586a044b2d74b97a1095aec478bf4ae
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT/EWS-668-130280378564324526
Trust level: Full
Application Virtual Path: /EWS
Application Path: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\
Machine name: SERVERNAME (I have changed this for post)
Process information:
Process ID: 9840
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: HttpException
Exception message: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
lots more data...Hi Angela,
I can't see any re-directions on the website and have certainly not set any intentionally. I did try installing the Remote Web Gateway on the server and then found that it doesn't work on an exchange box and removed it but the server was working after
this.
The HTTP Redirect in Default Web Site is not showing anything set and the same for the Back End.
The bindings on the default site all look normal with;
http 80 127.0.0.1
https 443 127.0.0.1
http 80 *
http 443 *
The same is mirrored in the Exchange Back End site but with ports 81 and 444.
Running the Outlook auto configure just using Autodiscover all looks good with the URLs listed all pointing to (http)://mail.mydomain.co.uk/whatever... and the log says Autodiscover to (https)://mail.mydomain.co.uk/Autodiscover/Autodiscover.xml Suceeded
(0x00000000)
But, if I type in the OOF address of (https)://mail.mydomain.co.uk/EWS/exchange.asmx I get a login prompt but once user details are entered I then get;
'.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.]
System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) +163
System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() +7572550
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +62
System.Xml.XmlReader.ReadToFollowing(String name) +112
Microsoft.Exchange.Data.ApplicationLogic.Extension.KillBitHelper.ReadKillBitXmlContent(XmlReader reader, Int32& refreshRate) +185
Microsoft.Exchange.Data.ApplicationLogic.Extension.KillBitHelper.TryReadKillBitFile(Int32& refreshRate, DateTime& lastModifiedTime) +710
Microsoft.Exchange.Data.ApplicationLogic.Extension.KillBitTimer.Start() +202
Microsoft.Exchange.Services.Global.Application_Start(Object sender, EventArgs e) +975
[HttpException (0x80004005): '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12864205
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475
[HttpException (0x80004005): '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12880948
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722137
Really wishing I had installed Exchange 2010 at this point!! Just can't see why its not working :( -
Exchange Connector adds Workflow user as related Item to Review Activity
We use Servcie Manager 2012 R2 with Exchange Connector 2.0
For some reason, the Exchange Connector adds the workflow user to the review activity as a related config item. The sender of the email would make sence, but the workflow user does not.
Does the Exchange Connector 3.0 Rerelease also add the workflow user?
Is there a possibility to avoid this behavior?
tia
Patrick WahlmüllerHi Patrik !
Never saw that before, what i can say is that the upgrade/change to Exchange COnnector 3.0 is easy low-risk and you add MS-Support possibilities for it.
Go for 3.0 !
R. -
Is it possible to change Assigned User and Priorty via email? using Exchange Connector
Hi, we don't use system centre in our network but were looking at ways to integrate a clients service desk with our own, is it possible using the exchange connector to be able to change the assigned user of a incident and/or priority with just an email?
Many Thanks
GordonIt's better to create your own very custom Exchange connector to do the work like I did
here.
Cheers,
Marat
Site: www.scutils.com Twitter:
LinkedIn:
Graveyard: -
Equipment action log and display changes nnot updating
Hello Guys,
it is little strange but for some of the equipments action log and display changes are not being updated.
The records are there only till 2007 but since 2008 whatever changes we make now they are not being recorded in action log or changes.
But strange thing here is usage list is being updated as it is supposed to be.
i have checked most of the config. but really not helpful.
i am clueless here.
Can anyone help?
Thanks & Regards,
vaibhavHi,
Please see attached code for your review:
Appreciate your valuable comments.
INCLUDE ZXEQMU02
*By: Ralph McKnight/AC Date: Mar061998.
*Description: Additional fields to be saved on append structures
during equipment add/change - This development was
Undertaken as a core modification - The exporting
function parameters were changes to pass back the
structures with the new user values.
*Sir4726 - Disable equipment popup box for equipment type 'E'
*Sartd42467-Add kokrs & kostl to auto maint
*By Ralph McKnight Apr161998.
*SARTD 75148 - 4.6C Upgrade, CH4K902173, Import/Export parameters can no
longer have the same names, added a Changing parameter to
return the changed values of EQUI and EQUZ to save the
append structure fields ZAEQUI and ZAEQUZ for Job
Resource Scheduling.
- Also set the flags to update EQUI and EQUZ.
by: HBAY342
*SARTD 92504 - Save new maintenance plant into ABAP memory. Needed for
9/26/02 E.Krenz
*SARTD 109167 - AMI Foreign Trade REquirement. - Validations against
- AMI Foreign Trade Synchronization tables(ZAESYNCDIV &
(ZAESYNCMAT) before save
of the equipment.
SARTD 111318 - CHLK9A0I4A Check Equipment Acquisition Date, Value and
currency to avoid dump by SAP Standard system
SARTD 113133 AMI project: Added function call to prevent users from
manually changing equipments when it is on a AMI transfer
form.
KR 140649 AMI: Added parameter to FM call
for Z_AMI_CHCK_IE02_UPDATE_ALLOWED. E.Krenz 12/23/03
03/02/2004 HBB8705 CHLK9A0WYR EQUZ Append field rename
Modification Log
Date User Transport KR Description
06/29/2005 HBAK946 CHLK9A1N05 169999 RA Equipment Lockdown
If equip is RA, check authority
If no auth., then issue a mess
06/30/2005 HBAK946 CHLK9A1N29 169999 RA Equipment Lockdown
Only process RA check if in
t-code IE01, IE02 will be
handled in user-exit
Begin of CH4K902173 - 4.6C upgrade - Changed import/export/changing
parameters
Old way follows:
*This is how the call to this routine should look with our mods.
*Note: the changes to the std are labeled with "DS Part 6 - RGM1
call customer-function '001'
exporting
data_equi = equi
data_eqkt = eqkt
data_equz = equz
data_iloa = iloa
importing
own_msg = own_msg
data_equi = equi "DS Part 6 - RGM1
data_eqkt = eqkt "DS Part 6 - RGM1
data_equz = equz "DS Part 6 - RGM1
data_iloa = iloa "DS Part 6 - RGM1
exceptions
posting_not_allowed = 1
others = 2.
New way follows:
CALL CUSTOMER-FUNCTION '001'
EXPORTING
ACTIVITY_TYPE = ACTIVITY_TYPE
DATA_EQUI = EQUI
DATA_EQKT = EQKT
DATA_EQUZ = EQUZ
DATA_ILOA = ILOA
MAIN_CLASS = RM63E-KLASSE
DATA_RM63E = RM63E
IMPORTING
UPDATE_DATA_EQ = UPDATE_DATA_EQ
UPDATE_FLAGS_EQ = UPDATE_FLAGS_EQ
UPDATE_DATA_EZ = UPDATE_DATA_EZ
UPDATE_FLAGS_EZ = UPDATE_FLAGS_EZ
CHANGING
CHGD_EQUI = EQUI
CHGD_EQUZ = EQUZ
EXCEPTIONS
POSTING_NOT_ALLOWED = 1
POSTING_NOT_ALLOWED_EXT = 2
OTHERS = 3.
End of CH4K902173 - 4.6C upgrade - Changed import/export/changing
Changes for SARTD 111318 to check Acquisition Date, Value and currency
Commented By Nikhil. Function Module looks to be specific for US.
*data: v_retval like sy-subrc.
"CHLK9A0I4A
*call function 'Z_VERIFY_ACQUISITION_DATA'
"CHLK9A0I4A
exporting
"CHLK9A0I4A
p_equi = data_equi
"CHLK9A0I4A
importing
"CHLK9A0I4A
retval = v_retval.
"CHLK9A0I4A
*if v_retval ne 0.
"CHLK9A0I4A
raise posting_not_allowed.
"CHLK9A0I4A
*endif.
"CHLK9A0I4A
End of changes for SARTD 111318
*======================================================================
Begin of AMI
*======================================================================
Begin of insert SARTD 113133
read calling AMI program
DATA: z_ami_program(30) TYPE c.
CALL FUNCTION 'Z_AMI_CHECK_AMI_PRG_ACTIVE'
IMPORTING
p_ami_program = z_ami_program.
AMI validations if Equipment Update is allowed
For checking Equipment Check permission.
CALL FUNCTION 'Z_AMI_CHCK_IE02_UPDATE_ALLOWED'
EXPORTING
active_ami_program = z_ami_program
data_equz = data_equz
data_equi = data_equi
data_iloa = data_iloa
main_class = main_class
data_rm63e = data_rm63e
EXCEPTIONS
update_not_allowed = 8.
IF sy-subrc NE 0.
RAISE posting_not_allowed.
ENDIF.
Commented By Nikhil. Function Module looks to be specific for US.
checks for equipment ring fencing (only for manual IE02)
*if z_ami_program is initial.
call function 'Z_AMI_IE02_EXIT_RING_FENCING'
exporting
data_equz = data_equz
data_rm63e = data_rm63e
exceptions
update_not_allowed = 8.
if sy-subrc ne 0.
raise posting_not_allowed.
endif.
*endif.
End of INSERT SARTD 113133
*======================================================================
End of AMI
*======================================================================
*======================================================================
Begin of RA Equipment Lockdown >> CHLK9A1N05
*======================================================================
check if equipment is Radio Active
DATA: i_matnr_tab LIKE zhazind OCCURS 0 WITH HEADER LINE.
DATA: v_land1(3) TYPE c.
DATA: v_ra_flag(1) TYPE c.
*Begin of code insertion by pavan on 02 June, 2008.
DATA: zeqpnr_eccn-zeccn TYPE zeqpnr_eccn-zeccn,
wa_zeqpnr_eccn TYPE zeqpnr_eccn.
break pkumar.
IF sy-ucomm = 'BU'.
IMPORT zeqpnr_eccn-zeccn FROM MEMORY ID 'ZECCNUM'.
MOVE: data_equi-equnr TO wa_zeqpnr_eccn-zeqnr,
zeqpnr_eccn-zeccn TO wa_zeqpnr_eccn-zeccn.
MODIFY zeqpnr_eccn FROM wa_zeqpnr_eccn.
CLEAR wa_zeqpnr_eccn.
ENDIF.
*End of code insertion by pavan on 02 June, 2008.
IF sy-tcode = 'IE01'.
IF NOT data_equi-matnr IS INITIAL AND
NOT data_equz-zzswerk IS INITIAL.
SELECT SINGLE land1 FROM t001w
INTO v_land1
WHERE werks = data_equz-zzswerk.
CLEAR: i_matnr_tab.
REFRESH: i_matnr_tab.
i_matnr_tab-matnr = data_equi-matnr.
APPEND i_matnr_tab TO i_matnr_tab.
CALL FUNCTION 'Z_MATERIAL_HAZARD'
EXPORTING
pland1 = v_land1
TABLES
matnr_tab = i_matnr_tab.
check if radio active
READ TABLE i_matnr_tab INDEX 1.
IF sy-subrc = 0.
IF i_matnr_tab-ramat = 'X'.
check if user has Radio Active access
AUTHORITY-CHECK OBJECT 'S_TCODE'
ID 'TCD' FIELD 'ZIE02_RA'.
IF sy-subrc NE 0.
MESSAGE w000(z5) WITH 'No access to create RA equipment'.
RAISE posting_not_allowed.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
*======================================================================
End of RA Equipment Lockdown << CHLK9A1N05
*======================================================================
*CHECK NOT data_equi-eqtyp = 'E'.
*CHECK NOT data_equi-eqtyp = 'F'.
DATA: v_stor_ucomm LIKE sy-ucomm.
DATA: v_equnr LIKE data_equz-equnr.
*Save the system user command field
v_stor_ucomm = sy-ucomm.
v_equnr = data_equz-equnr.
*Get the additional information
CALL FUNCTION 'Z_GET_MORE_EQUIPMENT_INFO'
CHANGING
s_equi = data_equi
s_equz = data_equz
s_rm63e = data_rm63e
EXCEPTIONS
cancelled = 1.
*Begin of changes for SARTD 113691
IF sy-subrc NE 0. "CHLK9A0KY9
RAISE posting_not_allowed. "CHLK9A0KY9
ENDIF. "CHLK9A0KY9
End of changes for SARTD 113691
*Restore the equip number
data_equz-equnr = v_equnr.
data_equz-zzkokrs = data_iloa-kokrs. "CHLK9A0WYR
data_equz-zzkostl = data_iloa-kostl. "CHLK9A0WYR
data_equz-zzswerk = data_iloa-swerk. "CHLK9A0WYR
*****SARTD 109167
*vALIDATE VALUES PER ami fOREIGN TRADE SYNCHRONIZATION RULES
*set screen 0101.
CALL FUNCTION 'Z_AMIFT_VALIDATE_EQUIP_MATNR'
TABLES
P_MESSAGES =
CHANGING
p_equi = data_equi
p_equz = data_equz.
*****SARTD 109167
CH4K902173 - Should update EQUI and EQUZ, set flag to TRUE.
chgd_equi = data_equi. "CH4K902173
chgd_equz = data_equz. "CH4K902173
*Begin of Changes - CHLK980219 data not retained when creating record
*UPDATE_FLAGS_EQ = 'X'. "CH4K902173
*UPDATE_FLAGS_EZ = 'X'. "CH4K902173
*End of Changes
*If cancel was hit then back out of save
IF sy-subrc NE 0.
RAISE posting_not_allowed.
ENDIF.
*Restore the system user command field
sy-ucomm = v_stor_ucomm.
Begin of insert SARTD 92504, AMI 9/26/02, E.Krenz
Store new maintenance plant in memory to be used by ZAEQASBR for
immediate ransfer of maintenance items.
EXPORT data_equz TO MEMORY ID 'ZAEQASBR'.
End of insert
>> CHLK9A1N29
clear transaction varient before going to IE02 or IE01 main screen
CALL FUNCTION 'RS_HDSYS_SET_TC_VARIANT'
EXPORTING
variant = ' '
flag_client_independent = 'X'
overwrite_variant = 'X'.
<< CHLK9A1N29
Regards,
vaibhav. -
1. TACAS+ Accounting and Logged in Users report is not working on ACS 4.1(1
Hi,
I am facing problem with ACS 4.1 accounting, TACAS+ Accounting and Logged in Users report are not working, the csv file is been generated but nothing is showened in the file.
I have checked the documents related to ACS 4.1, it says that there is a bug related to command accounting âCSCsg97429 - TACACS+ Command Accounting does not work in ACS 4.1(1) Build 23â.
Tried upgrading the same with the patch applAcs-4.1.1.23.3.zip, still it is not working.
Other reports are working fine.
1. TACAS+ Accounting - not working
2. Logged in Users - not working
3. TACAS+ Administration - working
4. Passed Authentication - working
5. Failed Attempts - working
Any suggestions or any idea, please revert.
Regards
VineetHi,
Thanks
Yes I have configured the command âaaa accounting exec default start-stop group tacacs+â
As I have mentioned all the other reports are working. Which user and when he has logged in and what commands he has used. Only the TACAS+ Accounting and logned user is not working.
Regards,
Vineet -
Exchange Connector doesn't add incoming mail to Action Log
Hi,
I'm using a Incident form customized with a class extension.
I already installed the fix SCSM2012_OD_KB2866545_AMD64_14.0.650.7.exe following the procedure.
When there is an incoming email where end user replies with key words as Closed or Resolved, anything occurs on incident as seeing new status or item in action log.
any idea ?
Grazie mille AlexSolved with Microsoft Support.
below detail:
http://blogs.technet.com/b/servicemanager/archive/2014/02/25/manual-and-review-activities-applied-via-a-template-to-an-existing-work-item-are-created-without-prefix.aspx
Grazie mille Alex -
Hello everybody,
we have installed scsm 2012 r2 (UR 3) with exchange connector 3. We have connected the connector by the workflow Account (domain user "servicedesk" is in local admin group of the sm server and in the sm Administrators group) and have access
to the mailbox on exchange (2010; autodiscovery is working correct). We receive all mails in the servicedesk mailbox on restarting the sm services and see the mails in the opm logs. But no incidents are created and the connector stays in "never
tun" state and does not receive mails any More after the first start. What do we have missed to check? Beste regards Thomasi have added the registry keys.
the last log says:
EwsResponse: <Trace Tag="EwsResponse" Tid="1" Time="2014-08-10 18:38:52Z" Version="14.03.0067.001">
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:ServerVersionInfo MajorVersion="14" MinorVersion="3" MajorBuildNumber="174" MinorBuildNumber="1" Version="Exchange2010_SP2" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<m:FindItemResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<m:ResponseMessages>
<m:FindItemResponseMessage ResponseClass="Success">
<m:ResponseCode>NoError</m:ResponseCode>
<m:RootFolder IndexedPagingOffset="1" TotalItemsInView="1" IncludesLastItemInRange="true">
<t:Items>
<t:Message>
<t:ItemId Id="AAMkAGM0NzI4Nzc5LWM0NWMtNDBiZC1iMjIyLWU5YTZlNGM0YjVjZgBGAAAAAADPPKNYSCzLRLMWL/UoJg1CBwAVmecTYATlQovl76GEizxlAAAAoyGrAAAVmecTYATlQovl76GEizxlAAAAo0kZAAA="
ChangeKey="CQAAABYAAAAVmecTYATlQovl76GEizxlAAAAo4Fd" />
<t:ParentFolderId Id="AAMkAGM0NzI4Nzc5LWM0NWMtNDBiZC1iMjIyLWU5YTZlNGM0YjVjZgAuAAAAAADPPKNYSCzLRLMWL/UoJg1CAQAVmecTYATlQovl76GEizxlAAAAoyGrAAA="
ChangeKey="AQAAAA==" />
<t:ItemClass>IPM.Note</t:ItemClass>
<t:Subject>Test 1</t:Subject>
<t:Sensitivity>Normal</t:Sensitivity>
<t:DateTimeReceived>2014-08-10T18:35:12Z</t:DateTimeReceived>
<t:Size>2858</t:Size>
<t:Importance>Normal</t:Importance>
<t:IsSubmitted>false</t:IsSubmitted>
<t:IsDraft>false</t:IsDraft>
<t:IsFromMe>false</t:IsFromMe>
<t:IsResend>false</t:IsResend>
<t:IsUnmodified>true</t:IsUnmodified>
<t:DateTimeSent>2014-08-10T18:34:56Z</t:DateTimeSent>
<t:DateTimeCreated>2014-08-10T18:35:12Z</t:DateTimeCreated>
<t:DisplayCc />
<t:DisplayTo>Service Desk</t:DisplayTo>
<t:HasAttachments>false</t:HasAttachments>
<t:Culture>de</t:Culture>
<t:EffectiveRights>
<t:CreateAssociated>false</t:CreateAssociated>
<t:CreateContents>false</t:CreateContents>
<t:CreateHierarchy>false</t:CreateHierarchy>
<t:Delete>true</t:Delete>
<t:Modify>true</t:Modify>
<t:Read>true</t:Read>
</t:EffectiveRights>
<t:LastModifiedName>Thomas Göttl</t:LastModifiedName>
<t:LastModifiedTime>2014-08-10T18:35:12Z</t:LastModifiedTime>
<t:Sender>
<t:Mailbox>
<t:Name>Thomas Göttl</t:Name>
</t:Mailbox>
</t:Sender>
<t:IsReadReceiptRequested>false</t:IsReadReceiptRequested>
<t:ConversationIndex>Ac+0ycOTmfHK8XrvSM2ftu9rcjREeg==</t:ConversationIndex>
<t:ConversationTopic>Test 1</t:ConversationTopic>
<t:From>
<t:Mailbox>
<t:Name>Thomas Göttl</t:Name>
</t:Mailbox>
</t:From>
<t:InternetMessageId><[email protected]></t:InternetMessageId>
<t:IsRead>false</t:IsRead>
<t:ReceivedBy>
<t:Mailbox>
<t:Name>Service Desk</t:Name>
</t:Mailbox>
</t:ReceivedBy>
<t:ReceivedRepresenting>
<t:Mailbox>
<t:Name>Service Desk</t:Name>
</t:Mailbox>
</t:ReceivedRepresenting>
</t:Message>
</t:Items>
</m:RootFolder>
</m:FindItemResponseMessage>
</m:ResponseMessages>
</m:FindItemResponse>
</s:Body>
</s:Envelope>
</Trace>
and the one before:
EwsResponseHttpHeaders: <Trace Tag="EwsResponseHttpHeaders" Tid="1" Time="2014-08-10 18:38:52Z">
200 OK
Transfer-Encoding: chunked
Content-Encoding: gzip
Vary: Accept-Encoding
Persistent-Auth: false
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Date: Sun, 10 Aug 2014 18:38:51 GMT
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate oYGyMIGvoAMKAQChCwYJKoZIgvcSAQICooGaBIGXYIGUBgkqhkiG9xIBAgICAG+BhDCBgaADAgEFoQMCAQ+idTBzoAMCAReibARqZCLk7OlBLjMLGg8XtQO+mutKfYPyK2jeJ2B+wq9raDj1chIZkQT0/72YftQJfdtu1DwfzmlEz8kDSD7ElFT2nF/T5LMDIMT4EpLJALsGQPTec86ubSbl1dKsIZn09qdoGDg5tGxV0bwOSg==
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
</Trace>
the one before:
EwsRequest: <Trace Tag="EwsRequest" Tid="1" Time="2014-08-10 18:38:51Z" Version="14.03.0067.001">
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<t:RequestServerVersion Version="Exchange2007_SP1" />
<t:TimeZoneContext>
<t:TimeZoneDefinition Id="W. Europe Standard Time" />
</t:TimeZoneContext>
</soap:Header>
<soap:Body>
<m:FindItem Traversal="Shallow">
<m:ItemShape>
<t:BaseShape>AllProperties</t:BaseShape>
</m:ItemShape>
<m:IndexedPageItemView MaxEntriesReturned="1" Offset="0" BasePoint="Beginning" />
<m:Restriction>
<t:And>
<t:IsEqualTo>
<t:FieldURI FieldURI="message:IsRead" />
<t:FieldURIOrConstant>
<t:Constant Value="false" />
</t:FieldURIOrConstant>
</t:IsEqualTo>
<t:IsEqualTo>
<t:FieldURI FieldURI="item:ItemClass" />
<t:FieldURIOrConstant>
<t:Constant Value="IPM.Note" />
</t:FieldURIOrConstant>
</t:IsEqualTo>
</t:And>
</m:Restriction>
<m:ParentFolderIds>
<t:DistinguishedFolderId Id="inbox" />
</m:ParentFolderIds>
</m:FindItem>
</soap:Body>
</soap:Envelope>
</Trace>
the one before:
EwsRequestHttpHeaders: <Trace Tag="EwsRequestHttpHeaders" Tid="1" Time="2014-08-10 18:38:51Z">
POST /EWS/Exchange.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml
User-Agent: ExchangeServicesClient/14.03.0067.001
Accept-Encoding: gzip,deflate
</Trace>
the one before (xxx for our Domain):
Exchange Connector: Autodiscovered URL: https://sv-exchange01.xxx.intra/EWS/Exchange.asmx
Is there something we missed? -
Appraisal Document: Wrong entries in action log
Hi Gurus,
For some appraisal documents, the action log is getting wrong entries.
For example, it appears several entries. Those entries identify persons that have seen the document. I have an example that several employees have seen the same document at the same day the same time, which has not happened.
I am using standard implementation for action log.
I cannot find a pattern for that...
Have you faced the same situation? Can you help me, please?
Many thanks,
Vasco BrandãHi Vasco,
Another customer had some problems with the log and it was solved with note 1476829 (it corrected a different issue but it made changes on the log fucntionality as well).
Try this note and if you still have problem after that then I suggest you open a message for this as it might be a bug.
Cheers
Sarah -
Exchange connector to hosted Exchange Server gives Connection errors in log.
I have setup the exchange connector within SCCM 2012 R2 CU3. Everything seems to work. I get the EAS connected devices discovered in the SCCM console.
The Hosted Exchange server I used is https://ps.outlook.com/PowerShell-Live-ID
Although everything seems to work i frequently get the following errors in the EASdisc.log:
ERROR: [MANAGED] Failed to open Runspace. Exception: System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server failed with the following error message : The SSL connection cannot be established. Verify that the service
on the remote host is properly configured to listen for HTTPS requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command
on the destination to analyze and configure the WinRM service: "winrm quickconfig -transport:https". For more information, see the about_Remote_Troubleshooting Help topic.~~ at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()~~
at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult)~~ at System.Management.Automation.Runspaces.RunspacePool.Open()~~ at System.Management.Automation.RemoteRunspace.Open()~~
at Microsoft.ConfigurationManager.ExchangeConnector.ExchangeRunspace.InitRunspace()
ERROR: Failed to call Initialize of managed COM. error = Unknown error 0x80131501
ERROR: Failed to initialize managed com instance. Error = Unknown error 0x80131501, -2146233087
There is no fixed interval in which these errors are reported.
Can i neglect these errors, or am I missing something?
I found the following thread without a solution:
http://community.office365.com/en-us/f/156/t/265109.aspxTry to use FQDN of Cas server in URL and Add CASADMIN into all the three Exchage Roles: Recipient Management; View Only Organization Management; and Server
Management. Enabled the Windows Authentication on Exchange CAS Server for /powershell in IIS.
Also You can check below link
https://social.technet.microsoft.com/Forums/en-US/e7ca3f0c-a793-4437-8050-2de4c9d9253c/exchange-connector?forum=configmanagergeneral
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog:
Technical | Twitter:
Mai Ali -
Hi,
I have properly configured exchange connector RTM and its working fine if i am including [IR---] in the subject line of mail. But if i am trying to send mails without the subject [IR] in the subject line, mails are not getting triggered in SCSM 2012
console.
So help me out guys!!! As i am very new to the industry and still learning System Center 2012.
Faster response would be appreciated,Thanks in advance!
Regards,hi,
I sorted out this issue by installing API 1.2 and copying the dll files to the service manager server ,service folder and replacing it with API 2.0 dll files.
cheers,
Hameed ahmed -
Exchange Connector - Update Mailbox Database Failed
Hi everyone,
OIM : 11g R2
Exchange : 11.1.1.6
I want to update "mailbox database" attribute of an exchange user.
I can make provisioning successfully.
When I update "Mailbox Database", "Database Updated " failed.
In log :
SEVERE: oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : doUpdate : Error while updating user
java.lang.IllegalArgumentException: Update type [Database] not supported
at org.identityconnectors.framework.impl.serializer.CommonObjectHandlers$14.createException(CommonObjectHandlers.java:274)
at org.identityconnectors.framework.impl.serializer.CommonObjectHandlers$14.createException(CommonObjectHandlers.java:271)
at org.identityconnectors.framework.impl.serializer.CommonObjectHandlers$ThrowableHandler.deserialize(CommonObjectHandlers.java:115)
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectDecoder$InternalDecoder.readObject(BinaryObjectDecoder.java:162)
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectDecoder.readObject(BinaryObjectDecoder.java:313)
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectDecoder.readObjectField(BinaryObjectDecoder.java:417)
at org.identityconnectors.framework.impl.serializer.MessageHandlers$5.deserialize(MessageHandlers.java:155)
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectDecoder$InternalDecoder.readObject(BinaryObjectDecoder.java:162)
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectDecoder.readObject(BinaryObjectDecoder.java:313)
at org.identityconnectors.framework.impl.api.remote.RemoteFrameworkConnection.readObject(RemoteFrameworkConnection.java:153)
at org.identityconnectors.framework.impl.api.remote.RemoteOperationInvocationHandler.invoke(RemoteOperationInvocationHandler.java:101)
at $Proxy519.update(Unknown Source)
In Process Definition of Exchange User target resources, there is a "Database Updated" task.
If this task is exist, database must be updated.
Why I can not update mailbox database?
Thanks.
Best regards.Thank you Alex. As I was firing up the shell to test this out I realized I was using the wrong account! Poor naming convention it seems =)
Appreciate the help. -
Scsm 2012 - exchange connector 3
Hi,
I have been asked to check that we are on exchange connector 3, am i correct in saying that the bit I have highlighted below shows we are on exchange connector 3 already?
Plus i noticed the version number of 7.5.8501.0 is old and this maybe why we have no option to select/or unselect 'log items for user from CMDB only' when we set up an exchange connector. Does
anyone know how I can update this?
<ManagementPack ContentReadable="true" SchemaVersion="2.0" OriginalSchemaVersion="1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Manifest>
<Identity>
<ID>Microsoft.SystemCenter.ExchangeConnector</ID>
<Version>3.0.0.0</Version>
</Identity>
<Name>Microsoft.SystemCenter.ExchangeConnector</Name>
<References>
<Reference Alias="ServiceManager.LinkingFramework.Library">
<ID>ServiceManager.LinkingFramework.Library</ID>
<Version>7.5.3079.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias="Console">
<ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Console</ID>
<Version>7.5.3079.61</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias="Windows">
<ID>Microsoft.Windows.Library</ID>
<Version>7.5.8501.0</Version>oh, you did start another thread....
ok, you might want to make sure you are using
the RTM version, rather then the RC version which was also called 3.0.
the version number you reference is the expected minimum version of the Microsoft.Windows.Library (which explains why it has the somewhat odd version number). it's ok if it's below the current version, since this is just the minimum accepted version
for that Reference Alias.
Maybe you are looking for
-
My mac is not able to turn on and i was wondering if i could somehow sign into my apple ID via my iphone to manage my account and get a refund for an album i had accidently purchased three times
-
Hi Experts. Our requirement is to get the material group column in the output report of MCV1. I have searched the forum but couldn't find any thread regarding the same. So please advice whether it is possible or not? and if possible then what is the
-
MySites for non-Active Directory users
Hi, we are planning to provide a collaboration farm for internal users (AD) external users (external AD, no-trust relationship) We plan to authenticate users via Claims/ADFS. The idea is to provide a MySite-Farm. Questions Are there any issues with
-
Whenever I click a link to bring me to a game or maybe a different website, it opens it into a new window which keeps certain things from working. == This happened == Every time Firefox opened == I clicked "open in a new window" on a tab so i could h
-
Imports like, totally suck!
Hi! OMG, ok I'm like, trying to figure out why this doesn't work but I'm totally stuck :( If I import everything in java java.*; then why can't I use Vector!? It's like, in the java package because everything is in the java package! I'm really trying