on 12-09-2014 8:31 AM
I have a already existing tenant & I would like to fetch already existing iOS Enrollment code.
Hi, it doesn't really work directly like that, but I have some sample code which could help you get close:
Essentially, you use the ServerProprties service to call GetSelfServicePortalConfigurations, but pass it a GUID for an SSP that does not exist, and it will return all Portal configurations. You can then loop through those to get the code out of it as described in the document.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One caveat of the above, and the following sample is that the codes have to be associated with an enrollment portal/SSP.
If you do not care if the codes are associated with a policy, see the below for an example of how to open policies and get codes:
I am having trouble understanding what you mean exactly.
From what I gather, you have another tenant that is not the sytem(default) tenant that has the iOS enrolment code on it.
You should be able to enrol you device anyway. The enrolment codes, regardless of the tenant that created it, navigate to the same enrolment pages on your server.
You as the user can identify which tenant created what enrolment code by moving between the tenats themselves. However, the devices don't really "care" who created it.
I hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.